@ThreadSafe public interface ServerCallHandler<RequestT,ResponseT>
Servers to invoke service methods.| Modifier and Type | Method and Description |
|---|---|
ServerCall.Listener<RequestT> |
startCall(String fullMethodName,
ServerCall<ResponseT> call,
Metadata.Headers headers)
Produce a non-
null listener for the incoming call. |
ServerCall.Listener<RequestT> startCall(String fullMethodName, ServerCall<ResponseT> call, Metadata.Headers headers)
null listener for the incoming call. Implementations are free to call
methods on call before this method has returned.
If the implementation throws an exception, call will be closed with an error.
Implementations must not throw an exception if they started processing that may use call on another thread.
fullMethodName - full qualified method name of call.call - object for responding to the remote client.call