org.apache.qpid.transport.network.nio
Class NioSender

java.lang.Object
  extended by org.apache.qpid.transport.network.nio.NioSender
All Implemented Interfaces:
Sender<ByteBuffer>

public class NioSender
extends Object
implements Sender<ByteBuffer>


Constructor Summary
NioSender(SocketChannel ch)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(ByteBuffer buf)
           
 void setIdleTimeout(int i)
           
 void setStartBatching()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioSender

public NioSender(SocketChannel ch)
Method Detail

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