ClientCall.Listener which forwards all of its methods to another ClientCall.Listener .
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | ForwardingClientCallListener.SimpleForwardingClientCallListener<RespT>
A simplified version of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract ClientCall. | delegate()
Implements abstract io. ClientCall.Listener.
|
| public void | onMessage(RespT
returned by the server message)Overrides io. |
| ForwardingClientCallListener | back to summary |
|---|---|
| public ForwardingClientCallListener() | |
| delegate | back to summary |
|---|---|
| protected abstract ClientCall. Implements abstract io. Returns the delegated
| |
| onMessage | back to summary |
|---|---|
| public void onMessage(RespT message) Overrides io. Doc from io. A response message has been received. May be called zero or more times depending on whether the call response is empty, a single message or a stream of messages.
| |
ForwardingClientCallListener where subclasses can pass in a
ClientCall.Listener 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.Listener.
|
| delegate | back to summary |
|---|---|
| private final ClientCall. | |
| SimpleForwardingClientCallListener | back to summary |
|---|---|
| protected SimpleForwardingClientCallListener(ClientCall. | |
| delegate | back to summary |
|---|---|
| protected ClientCall. Implements abstract io. Doc from io. Returns the delegated
| |