FileDocCategorySizeDatePackage
N2.javaAPI DocSun JDK 1.5.0 Example2357Sat Jan 08 15:08:43 GMT 2005None

N2

public class N2 extends Server
A non-blocking/dual-threaded which performs accept()s in one thread, and services requests in a second. Both threads use select().
author
Mark Reinhold
author
Brad R. Wetmore
version
1.2, 04/07/26

Fields Summary
Constructors Summary
N2(int port, int backlog, boolean secure)

	super(port, backlog, secure);
    
Methods Summary
voidrunServer()

	Dispatcher d = new DispatcherN();
	Acceptor a = new Acceptor(ssc, d, sslContext);
	new Thread(a).start();
	d.run();