41 import java.nio.channels.*;
53 N1(
int port,
int backlog,
boolean secure)
throws Exception {
54 super(port, backlog, secure);
55 ssc.configureBlocking(
false);
58 void runServer()
throws Exception {
59 Dispatcher d =
new Dispatcher1();
60 d.register(ssc, SelectionKey.OP_ACCEPT,
61 new AcceptHandler(ssc, d, sslContext));