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

com::martiansoftware::nailgun::NGSession::NGSession ( NGSessionPool  sessionPool,
NGServer  server 
) [inline, package]

Creates a new NGSession running for the specified NGSessionPool and NGServer.

Parameters:
sessionPool The NGSessionPool we're working for
server The NGServer we're working for

Definition at line 110 of file NGSession.java.

References instanceCounter, instanceNumber, and sharedLock.

                                                            {
            super();
            this.sessionPool = sessionPool;
            this.server = server;
      
            synchronized(sharedLock) {
                  this.instanceNumber = ++instanceCounter;
            }
//          server.out.println("Created NGSession " + instanceNumber);
      }


Generated by  Doxygen 1.6.0   Back to index