org.refcodes.exception.ExceptionAccessor<Throwable>
, org.refcodes.exception.ExceptionAccessor.ExceptionMutator<Throwable>
, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<Throwable>
, InstanceId
, org.refcodes.mixin.InstanceIdAccessor
, Session
, SessionIdAccessor
CancelMethodReplyMessage
, MethodReplyMessage
, PublishSubjectReplyMessage
public interface Reply extends Session, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<Throwable>
org.refcodes.exception.ExceptionAccessor.ExceptionBuilder<E extends Throwable,B extends org.refcodes.exception.ExceptionAccessor.ExceptionBuilder<E,B>>, org.refcodes.exception.ExceptionAccessor.ExceptionMutator<E extends Object>, org.refcodes.exception.ExceptionAccessor.ExceptionProperty<E extends Throwable>
org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B extends org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B>>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
SessionIdAccessor.SessionIdBuilder<B extends SessionIdAccessor.SessionIdBuilder<B>>, SessionIdAccessor.SessionIdMutator, SessionIdAccessor.SessionIdProperty
Modifier and Type | Method | 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.
|
letException
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 © 2021. All rights reserved.