|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.szegedi.nioserver.protocols.EchoProtocolHandlerFactory
| Constructor Summary | |
EchoProtocolHandlerFactory(ByteBufferPool bufferPool)
|
|
| Method Summary | |
ProtocolHandler |
createProtocolHandler(java.nio.channels.SocketChannel socketChannel)
Called whenever a connection is accepted on a server socket for which this factory was registered. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EchoProtocolHandlerFactory(ByteBufferPool bufferPool)
| Method Detail |
public ProtocolHandler createProtocolHandler(java.nio.channels.SocketChannel socketChannel)
ProtocolHandlerFactory
createProtocolHandler in interface ProtocolHandlerFactorysocketChannel - the server socket channel that represents the
server-side of the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||