Crossfire JXClient, Trunk
Server Class Referenceabstract
+ Inheritance diagram for Server:
+ Collaboration diagram for Server:

Static Public Member Functions

static void main (String args[]) throws Exception
 

Private Member Functions

void createSSLContext () throws Exception
 

Static Private Member Functions

static void checkArgs (int i, int len)
 
static Server createServer (String args[]) throws Exception
 
static void usage ()
 

Static Private Attributes

static int BACKLOG = 1024
 
static int PORT = 8000
 
static boolean SECURE = false
 

Detailed Description

The main server base class.

This class is responsible for setting up most of the server state before the actual server subclasses take over.

Author
Mark Reinhold
Brad R. Wetmore

Definition at line 56 of file Server.java.

Member Function Documentation

◆ checkArgs()

static void Server.checkArgs ( int  i,
int  len 
)
staticprivate

Definition at line 164 of file Server.java.

References usage().

Referenced by createServer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createServer()

static Server Server.createServer ( String  args[]) throws Exception
staticprivate

Definition at line 124 of file Server.java.

References BACKLOG, checkArgs(), PORT, SECURE, and usage().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createSSLContext()

void Server.createSSLContext ( ) throws Exception
private

Definition at line 82 of file Server.java.

◆ main()

static void Server.main ( String  args[]) throws Exception
static

Definition at line 170 of file Server.java.

References createServer(), and usage().

+ Here is the call graph for this function:

◆ usage()

static void Server.usage ( )
staticprivate

Definition at line 101 of file Server.java.

References BACKLOG, and PORT.

Referenced by checkArgs(), createServer(), and main().

+ Here is the caller graph for this function:

Member Data Documentation

◆ BACKLOG

int Server.BACKLOG = 1024
staticprivate

Definition at line 62 of file Server.java.

Referenced by createServer(), and usage().

◆ PORT

int Server.PORT = 8000
staticprivate

Definition at line 61 of file Server.java.

Referenced by createServer(), and usage().

◆ SECURE

boolean Server.SECURE = false
staticprivate

Definition at line 63 of file Server.java.

Referenced by createServer().


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