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 SummaryNested classes/interfaces inherited from interface one.microstream.com.ComConnectionHandlerComConnectionHandler.Default
- 
Constructor SummaryConstructors Constructor Description Default()
- 
Method SummaryModifier 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- 
Defaultpublic Default()
 
- 
- 
Method Details- 
createConnectionListener- Specified by:
- createConnectionListenerin interface- ComConnectionHandler<SocketChannel>
 
- 
openConnection- Specified by:
- openConnectionin interface- ComConnectionHandler<SocketChannel>
 
- 
prepareReading- Specified by:
- prepareReadingin interface- ComConnectionHandler<SocketChannel>
 
- 
prepareWriting- Specified by:
- prepareWritingin interface- ComConnectionHandler<SocketChannel>
 
- 
close- Specified by:
- closein interface- ComConnectionHandler<SocketChannel>
 
- 
closeReading- Specified by:
- closeReadingin interface- ComConnectionHandler<SocketChannel>
 
- 
closeWriting- Specified by:
- closeWritingin interface- ComConnectionHandler<SocketChannel>
 
- 
read- Specified by:
- readin interface- ComConnectionHandler<SocketChannel>
 
- 
write- Specified by:
- writein interface- ComConnectionHandler<SocketChannel>
 
- 
sendProtocolpublic void sendProtocol(SocketChannel connection, ComProtocol protocol, ComProtocolStringConverter stringConverter)- Specified by:
- sendProtocolin interface- ComConnectionHandler<SocketChannel>
 
- 
receiveProtocolpublic ComProtocol receiveProtocol(SocketChannel connection, ComProtocolStringConverter stringConverter)- Specified by:
- receiveProtocolin interface- ComConnectionHandler<SocketChannel>
 
 
-