org.apache.bookkeeper.proto
Class NIOServerFactory.Cnxn

java.lang.Object
  extended by org.apache.bookkeeper.proto.NIOServerFactory.Cnxn
Enclosing class:
NIOServerFactory

public class NIOServerFactory.Cnxn
extends Object


Constructor Summary
NIOServerFactory.Cnxn(SocketChannel sock, SelectionKey sk)
           
 
Method Summary
 void close()
           
 void disableRecv()
           
 void enableRecv()
           
 InetSocketAddress getRemoteAddress()
           
 int getSessionTimeout()
           
 org.apache.bookkeeper.proto.NIOServerFactory.Cnxn.CnxnStats getStats()
           
 void sendResponse(ByteBuffer[] bb)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NIOServerFactory.Cnxn

public NIOServerFactory.Cnxn(SocketChannel sock,
                             SelectionKey sk)
                      throws IOException
Throws:
IOException
Method Detail

disableRecv

public void disableRecv()

enableRecv

public void enableRecv()

getSessionTimeout

public int getSessionTimeout()

toString

public String toString()
Overrides:
toString in class Object

close

public void close()

sendResponse

public void sendResponse(ByteBuffer[] bb)

getRemoteAddress

public InetSocketAddress getRemoteAddress()

getStats

public org.apache.bookkeeper.proto.NIOServerFactory.Cnxn.CnxnStats getStats()