| Package | Description |
|---|---|
| com.google.protobuf |
| Modifier and Type | Method and Description |
|---|---|
static <Type extends Message |
RpcUtil.generalizeCallback(RpcCallback
Take an
RpcCallback accepting a specific message type and convert it to an
RpcCallback<Message>.
|
static <ParameterType> RpcCallback |
RpcUtil.newOneTimeCallback(RpcCallback
Creates a callback which can only be called once.
|
static <Type extends Message |
RpcUtil.specializeCallback(RpcCallback
Take an
RpcCallback<Message> and convert it to an
RpcCallback accepting a specific message type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RpcChannel.callMethod(Descriptors
Call the given method of the remote service.
|
void |
Service.callMethod(Descriptors
Call a method of the service specified by MethodDescriptor.
|
static <Type extends Message |
RpcUtil.generalizeCallback(RpcCallback
Take an
RpcCallback accepting a specific message type and convert it to an
RpcCallback<Message>.
|
static <ParameterType> RpcCallback |
RpcUtil.newOneTimeCallback(RpcCallback
Creates a callback which can only be called once.
|
void |
RpcController.notifyOnCancel(RpcCallback
Asks that the given callback be called when the RPC is canceled.
|
static <Type extends Message |
RpcUtil.specializeCallback(RpcCallback
Take an
RpcCallback<Message> and convert it to an
RpcCallback accepting a specific message type.
|