Crossfire JXClient, Trunk
Package Functions | List of all members
N2 Class Reference
Inheritance diagram for N2:
Inheritance graph
Collaboration diagram for N2:
Collaboration graph

Package Functions

 N2 (int port, int backlog, boolean secure) throws Exception
 
void runServer () throws Exception
 
- Package Functions inherited from Server
 Server (int port, int backlog, boolean secure) throws Exception
 

Additional Inherited Members

- Static Public Member Functions inherited from Server
static void main (String args[]) throws Exception
 
- Package Attributes inherited from Server
ServerSocketChannel ssc
 
SSLContext sslContext = null
 

Detailed Description

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
Brad R. Wetmore

Definition at line 48 of file N2.java.

Constructor & Destructor Documentation

◆ N2()

N2.N2 ( int  port,
int  backlog,
boolean  secure 
) throws Exception
package

Definition at line 50 of file N2.java.

Member Function Documentation

◆ runServer()

void N2.runServer ( ) throws Exception
package

Reimplemented from Server.

Definition at line 54 of file N2.java.

References a, Server.ssc, and Server.sslContext.


The documentation for this class was generated from the following file: