protected class Requestor.TransceiverCallback<T> extends Object implements Callback<List<ByteBuffer>>
| Constructor and Description |
|---|
TransceiverCallback(org.apache.avro.ipc.Requestor.Request request,
Callback<T> callback)
Creates a TransceiverCallback.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(Throwable error)
Receives an error.
|
void |
handleResult(List<ByteBuffer> responseBytes)
Receives a callback result.
|
public void handleResult(List<ByteBuffer> responseBytes)
CallbackhandleResult in interface Callback<List<ByteBuffer>>responseBytes - the result returned in the callback.public void handleError(Throwable error)
CallbackhandleError in interface Callback<List<ByteBuffer>>error - the error returned in the callback.Copyright © 2009–2023 The Apache Software Foundation. All rights reserved.