protected static class NettyTransceiver.WriteFutureListener extends Object implements io.netty.channel.ChannelFutureListener
Callback
if an error occurs while writing to the channel.Modifier and Type | Field and Description |
---|---|
protected Callback<List<ByteBuffer>> |
callback |
Constructor and Description |
---|
WriteFutureListener(Callback<List<ByteBuffer>> callback)
Creates a WriteFutureListener that notifies the given callback if an error
occurs writing data to the channel.
|
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(io.netty.channel.ChannelFuture future) |
protected final Callback<List<ByteBuffer>> callback
public WriteFutureListener(Callback<List<ByteBuffer>> callback)
callback
- the callback to notify, or null to skip notification.Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.