public static interface Stream.Listener
Stream.Listener to receive inbound data from remote peer.| Modifier and Type | Method and Description |
|---|---|
void |
onCancelByRemote(TriRpcStatus status)
Callback when receive cancel signal.
|
void |
onMessage(byte[] message)
Callback when receive message.
|
void onMessage(byte[] message)
message - message received from remote peervoid onCancelByRemote(TriRpcStatus status)
status - the cancel statusCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.