Package one.microstream.com
Class ComConnectionHandler.Default
java.lang.Object
one.microstream.com.ComConnectionHandler.Default
- All Implemented Interfaces:
 ComConnectionHandler<SocketChannel>
- Enclosing interface:
 - ComConnectionHandler<C>
 
public static final class ComConnectionHandler.Default extends Object implements ComConnectionHandler<SocketChannel>
- 
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.com.ComConnectionHandler
ComConnectionHandler.Default - 
Constructor Summary
Constructors Constructor Description Default() - 
Method Summary
Modifier and Type Method Description voidclose(SocketChannel connection)voidcloseReading(SocketChannel connection)voidcloseWriting(SocketChannel connection)ComConnectionListener<SocketChannel>createConnectionListener(InetSocketAddress address)SocketChannelopenConnection(InetSocketAddress address)voidprepareReading(SocketChannel connection)voidprepareWriting(SocketChannel connection)voidread(SocketChannel connction, ByteBuffer buffer)ComProtocolreceiveProtocol(SocketChannel connection, ComProtocolStringConverter stringConverter)voidsendProtocol(SocketChannel connection, ComProtocol protocol, ComProtocolStringConverter stringConverter)voidwrite(SocketChannel connction, ByteBuffer buffer) 
- 
Constructor Details
- 
Default
public Default() 
 - 
 - 
Method Details
- 
createConnectionListener
- Specified by:
 createConnectionListenerin interfaceComConnectionHandler<SocketChannel>
 - 
openConnection
- Specified by:
 openConnectionin interfaceComConnectionHandler<SocketChannel>
 - 
prepareReading
- Specified by:
 prepareReadingin interfaceComConnectionHandler<SocketChannel>
 - 
prepareWriting
- Specified by:
 prepareWritingin interfaceComConnectionHandler<SocketChannel>
 - 
close
- Specified by:
 closein interfaceComConnectionHandler<SocketChannel>
 - 
closeReading
- Specified by:
 closeReadingin interfaceComConnectionHandler<SocketChannel>
 - 
closeWriting
- Specified by:
 closeWritingin interfaceComConnectionHandler<SocketChannel>
 - 
read
- Specified by:
 readin interfaceComConnectionHandler<SocketChannel>
 - 
write
- Specified by:
 writein interfaceComConnectionHandler<SocketChannel>
 - 
sendProtocol
public void sendProtocol(SocketChannel connection, ComProtocol protocol, ComProtocolStringConverter stringConverter)- Specified by:
 sendProtocolin interfaceComConnectionHandler<SocketChannel>
 - 
receiveProtocol
public ComProtocol receiveProtocol(SocketChannel connection, ComProtocolStringConverter stringConverter)- Specified by:
 receiveProtocolin interfaceComConnectionHandler<SocketChannel>
 
 -