ServerCall.Listener which forwards all of its methods to another ServerCall.Listener of matching parameterized types.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | ForwardingServerCallListener.SimpleForwardingServerCallListener<ReqT>
A simplified version of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract ServerCall. | delegate()
Implements abstract io. ServerCall.Listener.
|
| public void | onMessage(ReqT
a received request message. message)Overrides io. |
| ForwardingServerCallListener | back to summary |
|---|---|
| public ForwardingServerCallListener() | |
| delegate | back to summary |
|---|---|
| protected abstract ServerCall. Implements abstract io. Returns the delegated
| |
| onMessage | back to summary |
|---|---|
| public void onMessage(ReqT message) Overrides io. Doc from io. A request message has been received. For streaming calls, there may be zero or more request messages.
| |
ForwardingServerCallListener where subclasses can pass in a
ServerCall.Listener as the delegate.
| Modifier and Type | Field and Description |
|---|---|
| private final ServerCall. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected ServerCall. | delegate()
Implements abstract io. ServerCall.Listener.
|
| delegate | back to summary |
|---|---|
| private final ServerCall. | |
| SimpleForwardingServerCallListener | back to summary |
|---|---|
| protected SimpleForwardingServerCallListener(ServerCall. | |
| delegate | back to summary |
|---|---|
| protected ServerCall. Implements abstract io. Doc from io. Returns the delegated
| |