public class RpcInvocation<RequestType,IncomingMetaDataType extends IncomingMessageMetaData<?,?>,ReplyType,TransportSpecificReplyInfo> extends Object implements RpcCompletor<ReplyType,TransportSpecificReplyInfo>
| Modifier and Type | Field and Description |
|---|---|
IncomingMessage<RequestType,IncomingMetaDataType> |
request |
| Constructor and Description |
|---|
RpcInvocation(IncomingMessage<RequestType,IncomingMetaDataType> request,
Consumer<Pair<ReplyType,TransportSpecificReplyInfo>> replyConsumer,
Consumer<Throwable> errorConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(ReplyType reply,
TransportSpecificReplyInfo replySpecificInfo) |
void |
completeExceptionally(Throwable error) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompletepublic final IncomingMessage<RequestType,IncomingMetaDataType extends IncomingMessageMetaData<?,?>> request
public RpcInvocation(IncomingMessage<RequestType,IncomingMetaDataType> request, Consumer<Pair<ReplyType,TransportSpecificReplyInfo>> replyConsumer, Consumer<Throwable> errorConsumer)
public void complete(ReplyType reply, TransportSpecificReplyInfo replySpecificInfo)
complete in interface RpcCompletor<ReplyType,TransportSpecificReplyInfo>public void completeExceptionally(Throwable error)
completeExceptionally in interface RpcCompletor<ReplyType,TransportSpecificReplyInfo>Copyright © 2018. All rights reserved.