42 import java.nio.channels.*;
53 BN(
int port,
int backlog,
boolean secure)
throws Exception {
54 super(port, backlog, secure);
57 void runServer()
throws IOException {
60 SocketChannel sc = ssc.accept();
62 ChannelIO cio = (sslContext !=
null ?
63 ChannelIOSecure.getInstance(
64 sc,
true , sslContext) :
65 ChannelIO.getInstance(
68 RequestServicer svc =
new RequestServicer(cio);
69 Thread th =
new Thread(svc);