ServerCall.Listener which forwards all of its methods to another ServerCall.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 ServerCall. | |
| public void | onCancel()
Overrides io. |
| public void | onComplete()
Overrides io. onCancel is guaranteed not to be called.
|
| public void | onHalfClose()
Overrides io. |
| public void | onReady()
Overrides io. sendMessage) without requiring excessive buffering internally.
|
| public String |
| PartialForwardingServerCallListener | back to summary |
|---|---|
| pack-priv PartialForwardingServerCallListener() | |
| delegate | back to summary |
|---|---|
| protected abstract ServerCall. Returns the delegated | |
| onCancel | back to summary |
|---|---|
| public void onCancel() Overrides io. Doc from io. The call was cancelled and the server is encouraged to abort processing to save resources, since the client will not process any further messages. Cancellations can be caused by timeouts, explicit cancellation by the client, network errors, etc. There will be no further callbacks for the call.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Overrides io. Doc from io. The call is considered complete and There will be no further callbacks for the call.
| |
| onHalfClose | back to summary |
|---|---|
| public void onHalfClose() Overrides io. Doc from io. The client completed all message sending. However, the call may still be cancelled.
| |
| onReady | back to summary |
|---|---|
| public void onReady() Overrides io. Doc from io. This indicates that the call 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
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |