org.apache.qpid.transport.network.nio
Class NioSender
java.lang.Object
org.apache.qpid.transport.network.nio.NioSender
- All Implemented Interfaces:
- Sender<ByteBuffer>
public class NioSender
- extends Object
- implements Sender<ByteBuffer>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NioSender
public NioSender(SocketChannel ch)
send
public void send(ByteBuffer buf)
- Specified by:
send
in interface Sender<ByteBuffer>
flush
public void flush()
- Specified by:
flush
in interface Sender<ByteBuffer>
setStartBatching
public void setStartBatching()
close
public void close()
- Specified by:
close
in interface Sender<ByteBuffer>
setIdleTimeout
public void setIdleTimeout(int i)
- Specified by:
setIdleTimeout
in interface Sender<ByteBuffer>
Licensed to the Apache Software Foundation