public final class RpcClientSideInvocation extends Object
| Constructor and Description |
|---|
RpcClientSideInvocation(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message param,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
Construct a new method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
RpcClientController |
getController() |
com.google.protobuf.RpcCallback<com.google.protobuf.Message> |
getDone() |
com.google.protobuf.Descriptors.MethodDescriptor |
getMethod() |
com.google.protobuf.Message |
getRequest() |
com.google.protobuf.Message |
getResponsePrototype() |
public RpcClientSideInvocation(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message param,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
method - The method being invoced.controller - The controller being used for the invocation.param - The parameter the method will be invoked with.responsePrototype - A prototype for the response value.done - The method to call when the invocation returns.public com.google.protobuf.Descriptors.MethodDescriptor getMethod()
public RpcClientController getController()
public com.google.protobuf.Message getRequest()
public com.google.protobuf.Message getResponsePrototype()
public com.google.protobuf.RpcCallback<com.google.protobuf.Message> getDone()
Copyright © 2013. All Rights Reserved.