Interface NIOServerSocketHandler
-
public interface NIOServerSocketHandlerNIOServerSocketHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NIOClientSocketHandlercreateClientHandler(NIOTcpMultiplexer serverMultiplexer, SocketChannel socketChannel)Create a new client handler instance for the given socket channelServerSocketChannelgetServerSocketChannel()Get the associated server socket channel
-
-
-
Method Detail
-
getServerSocketChannel
ServerSocketChannel getServerSocketChannel()
Get the associated server socket channel- Returns:
- the associated server socket channel
-
createClientHandler
NIOClientSocketHandler createClientHandler(NIOTcpMultiplexer serverMultiplexer, SocketChannel socketChannel)
Create a new client handler instance for the given socket channel- Parameters:
serverMultiplexer- the server multiplexersocketChannel- the new client socket channel- Returns:
- a new client handler instance
-
-