Uses of Interface
org.apache.avro.ipc.Callback
-
Uses of Callback in org.apache.avro.ipc
Modifier and TypeClassDescriptionclass
CallFuture<T>
A Future implementation for RPCs.protected class
Handles callbacks from transceiver invocations.Modifier and TypeMethodDescription<T> void
Writes a request message and returns the result through a Callback.void
Transceiver.transceive
(List<ByteBuffer> request, Callback<List<ByteBuffer>> callback) Called byRequestor.request(String,Object,Callback)
for two-way messages using callbacks.ModifierConstructorDescriptionCallFuture
(Callback<T> chainedCallback) Creates a CallFuture with a chained Callback which will be invoked when this CallFuture's Callback methods are invoked.TransceiverCallback
(org.apache.avro.ipc.Requestor.Request request, Callback<T> callback) Creates a TransceiverCallback. -
Uses of Callback in org.apache.avro.ipc.netty
Modifier and TypeFieldDescriptionprotected final Callback
<List<ByteBuffer>> NettyTransceiver.WriteFutureListener.callback
Modifier and TypeMethodDescriptionvoid
NettyTransceiver.transceive
(List<ByteBuffer> request, Callback<List<ByteBuffer>> callback) ModifierConstructorDescriptionWriteFutureListener
(Callback<List<ByteBuffer>> callback) Creates a WriteFutureListener that notifies the given callback if an error occurs writing data to the channel.