ClientCall.Listener which forwards all of its methods to another ClientCall.Listener which may have a different parameterized type than the
onMessage() message type.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract ClientCall. | |
| public void | onClose(Status
the result of the remote call. status, Metadata metadata provided at call completion. trailers)Overrides io. |
| public void | onHeaders(Metadata
containing metadata sent by the server at the start of the response. headers)Overrides io. |
| public void | onReady()
Overrides io. sendMessage) without requiring excessive buffering internally.
|
| public String |
| PartialForwardingClientCallListener | back to summary |
|---|---|
| pack-priv PartialForwardingClientCallListener() | |
| delegate | back to summary |
|---|---|
| protected abstract ClientCall. Returns the delegated | |
| onClose | back to summary |
|---|---|
| public void onClose(Status status, Metadata trailers) Overrides io. Doc from io. The ClientCall has been closed. Any additional calls to the Since If This method should not throw. If this method throws, there is no way to be notified of the exception. Implementations should therefore be careful of exceptions which can accidentally leak resources. | |
| onHeaders | back to summary |
|---|---|
| public void onHeaders(Metadata headers) Overrides io. Doc from io. The response headers have been received. Headers always precede messages. Since | |
| onReady | back to summary |
|---|---|
| public void onReady() Overrides io. Doc from io. This indicates that the ClientCall may now be capable of sending additional messages (via
Because there is a processing delay to deliver this notification, it is possible for
concurrent writes to cause If the type of a call is either
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |