public class MethodReplyMessageImpl extends ReplyDescriptorImpl implements MethodReplyMessage, Serializable
SessionIdAccessor.SessionIdMutator, SessionIdAccessor.SessionIdPropertyorg.refcodes.exception.mixins.ExceptionAccessor.ExceptionMutator<E>, org.refcodes.exception.mixins.ExceptionAccessor.ExceptionProperty<E extends Throwable>InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdProperty| Constructor and Description |
|---|
MethodReplyMessageImpl()
Creates a new
MethodReplyMessage instance. |
MethodReplyMessageImpl(Object aReturnValue,
Throwable aException,
MethodRequest aMethodRequestDescriptor) |
MethodReplyMessageImpl(Object returnValue,
Throwable throwable,
String instanceId,
String sessionId) |
MethodReplyMessageImpl(Reply aReplyDescriptor)
Creates a new
MethodReplyMessage instance. |
MethodReplyMessageImpl(String instanceId,
String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
void |
setException(Throwable throwable) |
void |
setInstanceId(String instanceId) |
void |
setMethodReplyDescriptor(Reply methodReplyDescriptor) |
void |
setReply(Reply methodReply)
Sets a reply.
|
void |
setReturnValue(Object returnValue) |
void |
setSessionId(String sessionId) |
clear, getException, getInstanceId, getReturnValue, getSessionId, hasReply, isException, isReturnValue, setHasReplyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReturnValue, hasReply, isException, isReturnValuegetSessionIdgetInstanceIdpublic MethodReplyMessageImpl()
MethodReplyMessage instance.public MethodReplyMessageImpl(Reply aReplyDescriptor)
MethodReplyMessage instance.aReplyDescriptor - The Reply for the method reply
in question.public MethodReplyMessageImpl(Object aReturnValue, Throwable aException, MethodRequest aMethodRequestDescriptor)
public MethodReplyMessageImpl(Object returnValue, Throwable throwable, String instanceId, String sessionId)
public void reset()
reset in interface org.refcodes.component.mixins.Resetablepublic void setReply(Reply methodReply)
setReply in interface ReplysetReply in class ReplyDescriptorImplmethodReply - 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 ReplysetReturnValue in class ReplyDescriptorImplreturnValue - Description is currently not available!public void setException(Throwable throwable)
setException in interface org.refcodes.exception.mixins.ExceptionAccessor.ExceptionMutator<Throwable>setException in interface ReplysetException in class ReplyDescriptorImplpublic void setInstanceId(String instanceId)
setInstanceId in class ReplyDescriptorImplinstanceId - Description is currently not available!public void setSessionId(String sessionId)
setSessionId in class ReplyDescriptorImplsessionId - Description is currently not available!public void setMethodReplyDescriptor(Reply methodReplyDescriptor)
setMethodReplyDescriptor in class ReplyDescriptorImplmethodReplyDescriptor - Description is currently not available!Copyright © 2015. All rights reserved.