public class RpcInvocation<RequestType,IncomingMetaDataType extends IncomingMessageMetaData<?,?>,TransportMessageType,TransportSpecificReplyInfo> extends Object implements RpcCompletor<TransportMessageType,TransportSpecificReplyInfo>
| Modifier and Type | Field and Description |
|---|---|
IncomingMessage<RequestType,IncomingMetaDataType> |
request |
| Constructor and Description |
|---|
RpcInvocation(IncomingMessage<RequestType,IncomingMetaDataType> request,
Consumer<Pair<TransportMessageType,TransportSpecificReplyInfo>> replyConsumer,
Consumer<Throwable> errorConsumer) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
complete(T reply,
io.reactivex.functions.Function<T,TransportMessageType> transcriber) |
void |
complete(TransportMessageType reply,
TransportSpecificReplyInfo replySpecificInfo) |
<T> void |
complete(T reply,
TransportSpecificReplyInfo replySpecificInfo,
io.reactivex.functions.Function<T,TransportMessageType> transcriber) |
void |
completeExceptionally(Throwable error) |
String |
toString() |
public final IncomingMessage<RequestType,IncomingMetaDataType extends IncomingMessageMetaData<?,?>> request
public RpcInvocation(IncomingMessage<RequestType,IncomingMetaDataType> request, Consumer<Pair<TransportMessageType,TransportSpecificReplyInfo>> replyConsumer, Consumer<Throwable> errorConsumer)
public <T> void complete(T reply,
TransportSpecificReplyInfo replySpecificInfo,
io.reactivex.functions.Function<T,TransportMessageType> transcriber)
throws Exception
complete in interface RpcCompletor<TransportMessageType,TransportSpecificReplyInfo>Exceptionpublic <T> void complete(T reply,
io.reactivex.functions.Function<T,TransportMessageType> transcriber)
throws Exception
complete in interface RpcCompletor<TransportMessageType,TransportSpecificReplyInfo>Exceptionpublic void complete(TransportMessageType reply, TransportSpecificReplyInfo replySpecificInfo)
public void completeExceptionally(Throwable error)
completeExceptionally in interface RpcCompletor<TransportMessageType,TransportSpecificReplyInfo>Copyright © 2018. All rights reserved.