Uses of Interface
com.google.protobuf.RpcCallback
Packages that use RpcCallback
-
Uses of RpcCallback in com.google.protobuf
Methods in com.google.protobuf that return RpcCallbackModifier and TypeMethodDescriptionstatic <Type extends Message>
RpcCallback<Message>RpcUtil.generalizeCallback(RpcCallback<Type> originalCallback, Class<Type> originalClass, Type defaultInstance) Take anRpcCallbackaccepting a specific message type and convert it to anRpcCallback<Message>.static <ParameterType>
RpcCallback<ParameterType>RpcUtil.newOneTimeCallback(RpcCallback<ParameterType> originalCallback) Creates a callback which can only be called once.static <Type extends Message>
RpcCallback<Type>RpcUtil.specializeCallback(RpcCallback<Message> originalCallback) Take anRpcCallback<Message>and convert it to anRpcCallbackaccepting a specific message type.Methods in com.google.protobuf with parameters of type RpcCallbackModifier and TypeMethodDescriptionvoidRpcChannel.callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype, RpcCallback<Message> done) Call the given method of the remote service.voidService.callMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, RpcCallback<Message> done) Call a method of the service specified by MethodDescriptor.static <Type extends Message>
RpcCallback<Message>RpcUtil.generalizeCallback(RpcCallback<Type> originalCallback, Class<Type> originalClass, Type defaultInstance) Take anRpcCallbackaccepting a specific message type and convert it to anRpcCallback<Message>.static <ParameterType>
RpcCallback<ParameterType>RpcUtil.newOneTimeCallback(RpcCallback<ParameterType> originalCallback) Creates a callback which can only be called once.voidRpcController.notifyOnCancel(RpcCallback<Object> callback) Asks that the given callback be called when the RPC is canceled.static <Type extends Message>
RpcCallback<Type>RpcUtil.specializeCallback(RpcCallback<Message> originalCallback) Take anRpcCallback<Message>and convert it to anRpcCallbackaccepting a specific message type.