public interface Reply extends Session, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<Throwable>
InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdProperty
SessionIdAccessor.SessionIdMutator, SessionIdAccessor.SessionIdProperty
org.refcodes.exception.ExceptionAccessor.ExceptionBuilder<E extends Throwable,B extends org.refcodes.exception.ExceptionAccessor.ExceptionBuilder<E,B>>, org.refcodes.exception.ExceptionAccessor.ExceptionMutator<E>, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<E extends Throwable>
Modifier and Type | Method and Description |
---|---|
Object |
getReturnValue()
Returns the return value of a method call.
|
boolean |
hasReply()
Returns true if this reply is not empty and waiting to be feeded with a
reply.
|
boolean |
isException()
Returns true if the reply carries an exception which occurred when
executing the method call.
|
boolean |
isReturnValue()
Returns true if the reply carries a valid return value.
|
void |
setException(Throwable aException) |
void |
setReply(Reply methodReply)
Sets a reply.
|
void |
setReturnValue(Object returnValue)
Sets the return value.
|
getInstanceId
getSessionId
Object getReturnValue()
boolean isException()
boolean isReturnValue()
void setReturnValue(Object returnValue)
returnValue
- Description is currently not available!void setReply(Reply methodReply)
methodReply
- An object of type BlueprintMethodReply from which the
replied values (throwable or return value) will be taken.void setException(Throwable aException)
setException
in interface org.refcodes.exception.ExceptionAccessor.ExceptionMutator<Throwable>
boolean hasReply()
Copyright © 2017. All rights reserved.