ClientCall which forwards all of its methods to another ClientCall.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | ForwardingClientCall.SimpleForwardingClientCall<ReqT, RespT>
A simplified version of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract ClientCall | delegate()
Implements abstract io. ClientCall.
|
| public void | sendMessage(ReqT
message to be sent to the server. message)Implements abstract io. |
| public void | start(ClientCall.
receives response messages responseListener,which can contain extra call metadata, e.g. authentication credentials. headers)Implements abstract io. responseListener for processing response messages.
|
| ForwardingClientCall | back to summary |
|---|---|
| public ForwardingClientCall() | |
| delegate | back to summary |
|---|---|
| protected abstract ClientCall Implements abstract io. Returns the delegated
| |
| sendMessage | back to summary |
|---|---|
| public void sendMessage(ReqT message) Implements abstract io. Doc from io. Send a request message to the server. May be called zero or more times depending on how many messages the server is willing to accept for the operation.
| |
| start | back to summary |
|---|---|
| public void start(ClientCall. Implements abstract io. Doc from io. Start a call, using It must be called prior to any other method on this class, except for Since
| |
ForwardingClientCall where subclasses can pass in a ClientCall as the delegate.
| Modifier and Type | Field and Description |
|---|---|
| private final ClientCall |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected ClientCall | delegate()
Implements abstract io. ClientCall.
|
| delegate | back to summary |
|---|---|
| private final ClientCall<ReqT, RespT> delegate | |
| SimpleForwardingClientCall | back to summary |
|---|---|
| protected SimpleForwardingClientCall(ClientCall<ReqT, RespT> delegate) | |
| delegate | back to summary |
|---|---|
| protected ClientCall Implements abstract io. Doc from io. Returns the delegated
| |