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

Package Functions

 N1 (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/single-threaded server. All accept() and read()/write() operations are performed by a single thread, but only after being selected for those operations by a Selector.

Author
Mark Reinhold
Brad R. Wetmore

Definition at line 51 of file N1.java.

Constructor & Destructor Documentation

◆ N1()

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

Definition at line 53 of file N1.java.

References Server.ssc.

Member Function Documentation

◆ runServer()

void N1.runServer ( ) throws Exception
package

Reimplemented from Server.

Definition at line 58 of file N1.java.

References Dispatcher.register(), Server.ssc, and Server.sslContext.

Here is the call graph for this function:

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