protected class NettyTransceiver.WriteFutureListener extends Object implements org.jboss.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 |
---|
NettyTransceiver.WriteFutureListener(Callback<List<ByteBuffer>> callback)
Creates a WriteFutureListener that notifies the given callback
if an error occurs writing data to the channel.
|
protected final Callback<List<ByteBuffer>> callback
public NettyTransceiver.WriteFutureListener(Callback<List<ByteBuffer>> callback)
callback
- the callback to notify, or null to skip notification.Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.