Crossfire JXClient, Trunk
|
Go to the documentation of this file.
42 import java.nio.channels.*;
43 import javax.net.ssl.*;
66 public void handle(SelectionKey sk)
throws IOException {
68 if (!sk.isAcceptable())
71 SocketChannel sc =
channel.accept();
void register(SelectableChannel ch, int ops, Handler h)
SocketChannel getSocketChannel()
static ChannelIO getInstance(SocketChannel sc, boolean blocking)
void handle(SelectionKey sk)
static ChannelIOSecure getInstance(SocketChannel sc, boolean blocking, SSLContext sslc)
ServerSocketChannel channel
AcceptHandler(ServerSocketChannel ssc, Dispatcher dsp, SSLContext sslContext)