if (msg.dist_direction == XPLAINUtil.DIRECTION.IN) { msg.dist_object_type = XPLAINUtil.OP_RESULT_RECEIVE; msg.originator = r.getSender().toString(); msg.target_member = c.getDistributedSystem().getDistributedMember();
if (msg.dist_direction == XPLAINUtil.DIRECTION.IN) { msg.dist_object_type = XPLAINUtil.OP_RESULT_RECEIVE; msg.originator = r.getSender().toString(); msg.target_member = c.getDistributedSystem().getDistributedMember();
if (msg.dist_direction == XPLAINUtil.DIRECTION.IN) { msg.dist_object_type = XPLAINUtil.OP_RESULT_RECEIVE; msg.originator = r.getSender().toString(); msg.target_member = c.getDistributedSystem().getDistributedMember();
final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { final InternalDistributedMember sender = replyMsg.getSender(); final boolean isLastResult = responseCode.isGrant(); if (isLastResult || responseCode.isWaiting()) {
final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { final InternalDistributedMember sender = replyMsg.getSender(); final boolean isLastResult = responseCode.isGrant(); if (isLastResult || responseCode.isWaiting()) {
final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { final InternalDistributedMember sender = replyMsg.getSender(); final boolean isLastResult = responseCode.isGrant(); if (isLastResult || responseCode.isWaiting()) {
/** * Add a reply message from a member having given {@link GfxdResponseCode}. * * @return true if more results are expected from the member else false */ protected boolean addResult(final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { if (responseCode.isGrant() || responseCode.isWaiting()) { addResult(replyMsg.getSender(), replyMsg.singleResult); } else { if (!responseCode.isException()) { Assert.fail("GfxdFunctionReplyMessageProcessor: " + "unexpected responseCode=" + responseCode); } if (this.latch == null) { addResult(replyMsg.getSender(), replyMsg.getException()); } } return processResponseCode(replyMsg, responseCode); }
/** * Add a reply message from a member having given {@link GfxdResponseCode}. * * @return true if more results are expected from the member else false */ protected boolean addResult(final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { if (responseCode.isGrant() || responseCode.isWaiting()) { addResult(replyMsg.getSender(), replyMsg.singleResult); } else { if (!responseCode.isException()) { Assert.fail("GfxdFunctionReplyMessageProcessor: " + "unexpected responseCode=" + responseCode); } if (this.latch == null) { addResult(replyMsg.getSender(), replyMsg.getException()); } } return processResponseCode(replyMsg, responseCode); }
/** * Add a reply message from a member having given {@link GfxdResponseCode}. * * @return true if more results are expected from the member else false */ protected boolean addResult(final GfxdFunctionReplyMessage replyMsg, final GfxdResponseCode responseCode) { if (responseCode.isGrant() || responseCode.isWaiting()) { addResult(replyMsg.getSender(), replyMsg.singleResult); } else { if (!responseCode.isException()) { Assert.fail("GfxdFunctionReplyMessageProcessor: " + "unexpected responseCode=" + responseCode); } if (this.latch == null) { addResult(replyMsg.getSender(), replyMsg.getException()); } } return processResponseCode(replyMsg, responseCode); }