Logo Search packages:      
Sourcecode: nailgun version File versions  Download package

void com::martiansoftware::nailgun::NGServer::init ( InetAddress  addr,
int  port 
) [inline, private]

Sets up the NGServer internals

addr the InetAddress to bind to
port the port on which to listen

Definition at line 146 of file NGServer.java.

References aliasManager, allNailStats, and sessionPool.

Referenced by NGServer().

            this.addr = addr;
            this.port = port;
            this.aliasManager = new AliasManager();
            allNailStats = new java.util.HashMap();
            // allow a maximum of 10 idle threads.  probably too high a number
            // and definitely should be configurable in the future
            sessionPool = new NGSessionPool(this, 10);

Generated by  Doxygen 1.6.0   Back to index