public static interface ClientCall.Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(TriRpcStatus status,
Map<String,Object> trailers)
Callback when call is finished.
|
void |
onMessage(Object message)
Callback when message received.
|
void |
onStart(ClientCall call)
Called when the call is started, user can use this to set some configurations.
|
void onStart(ClientCall call)
call - call implementationvoid onMessage(Object message)
message - message receivedvoid onClose(TriRpcStatus status, Map<String,Object> trailers)
status - response statustrailers - response trailersCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.