public class CancelMethodReplyMessageImpl extends ReplyDescriptorImpl implements CancelMethodReplyMessage, Serializable
SessionIdAccessor.SessionIdMutator, SessionIdAccessor.SessionIdProperty
org.refcodes.exception.ExceptionAccessor.ExceptionMutator<E>, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<E extends Throwable>
InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdProperty
Constructor and Description |
---|
CancelMethodReplyMessageImpl()
Creates a new
RemotingConsts instance with the
RemotingConsts#STATIC_SESS_ID session ID. |
CancelMethodReplyMessageImpl(Object aReturnValue,
Throwable aException,
MethodRequest aMethodRequestDescriptor) |
CancelMethodReplyMessageImpl(Object aReturnValue,
Throwable aEException,
String aInstanceId)
Creates a new
PublishSubjectReplyMessage instance with the
RemotingConsts.STATIC_SESSION_ID session ID. |
CancelMethodReplyMessageImpl(Reply aReplyDescriptor)
Creates a new
CancelMethodReplyMessage instance. |
CancelMethodReplyMessageImpl(String aInstanceId)
Creates a new
CancelMethodReplyMessage instance. |
Modifier and Type | Method and Description |
---|---|
void |
reset() |
void |
setHasReply(boolean hasReply) |
void |
setInstanceId(String instanceId) |
void |
setReply(Reply methodReply)
Sets a reply.
|
void |
setReturnValue(Object returnValue) |
void |
setSessionId(String sessionId) |
clear, getException, getInstanceId, getReturnValue, getSessionId, hasReply, isException, isReturnValue, setException, setMethodReplyDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReturnValue, hasReply, isException, isReturnValue, setException
getSessionId
getInstanceId
public CancelMethodReplyMessageImpl()
RemotingConsts
instance with the
RemotingConsts#STATIC_SESS_ID
session ID.public CancelMethodReplyMessageImpl(Reply aReplyDescriptor)
CancelMethodReplyMessage
instance.aReplyDescriptor
- The Reply
for the method reply
in question.public CancelMethodReplyMessageImpl(Object aReturnValue, Throwable aException, MethodRequest aMethodRequestDescriptor)
public CancelMethodReplyMessageImpl(Object aReturnValue, Throwable aEException, String aInstanceId)
PublishSubjectReplyMessage
instance with the
RemotingConsts.STATIC_SESSION_ID
session ID.aReturnValue
- The return value; if any regular return then no
exception must be set.aException
- The exception in case an exception occurred (then there
must not be a return value).aInstanceId
- The instance ID in question.public CancelMethodReplyMessageImpl(String aInstanceId)
CancelMethodReplyMessage
instance.aInstanceId
- The instance ID in question.public void reset()
reset
in interface org.refcodes.component.Resetable
public void setReply(Reply methodReply)
Reply
setReply
in interface Reply
setReply
in class ReplyDescriptorImpl
methodReply
- An object of type BlueprintMethodReply from which the
replied values (throwable or return value) will be taken.public void setReturnValue(Object returnValue)
setReturnValue
in interface Reply
setReturnValue
in class ReplyDescriptorImpl
returnValue
- Description is currently not available!public void setHasReply(boolean hasReply)
setHasReply
in class ReplyDescriptorImpl
hasReply
- Description is currently not available!public void setInstanceId(String instanceId)
setInstanceId
in class ReplyDescriptorImpl
instanceId
- Description is currently not available!public void setSessionId(String sessionId)
setSessionId
in class ReplyDescriptorImpl
sessionId
- Description is currently not available!Copyright © 2016. All rights reserved.