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

int com::martiansoftware::nailgun::NGServer::getPort (  )  [inline]

Returns the port on which this server is (or will be) listening.

Returns:
the port on which this server is (or will be) listening.

Definition at line 344 of file NGServer.java.

References port, and serversocket.

Referenced by main().

                           {
            return ((serversocket == null) ? port : serversocket.getLocalPort());
      }


Generated by  Doxygen 1.6.0   Back to index