Crossfire JXClient, Trunk
|
Public Member Functions | |
void | handle (SelectionKey sk) throws IOException |
Package Functions | |
AcceptHandler (ServerSocketChannel ssc, Dispatcher dsp, SSLContext sslContext) | |
Private Attributes | |
ServerSocketChannel | channel |
Dispatcher | dsp |
SSLContext | sslContext |
A single threaded Handler that performs accepts SocketChannels and registers the Channels with the read/write Selector.
Definition at line 52 of file AcceptHandler.java.
|
package |
Definition at line 59 of file AcceptHandler.java.
References channel, dsp, and sslContext.
void AcceptHandler.handle | ( | SelectionKey | sk | ) | throws IOException |
Implements Handler.
Definition at line 66 of file AcceptHandler.java.
References channel, dsp, ChannelIO.getInstance(), ChannelIOSecure.getInstance(), ChannelIO.getSocketChannel(), Dispatcher.register(), and sslContext.
|
private |
Definition at line 54 of file AcceptHandler.java.
Referenced by AcceptHandler(), and handle().
|
private |
Definition at line 55 of file AcceptHandler.java.
Referenced by AcceptHandler(), and handle().
|
private |
Definition at line 57 of file AcceptHandler.java.
Referenced by AcceptHandler(), and handle().