- <init>
Creates a new NGServer that will listen at the specified address and on the
specified port with the
- getPort
Returns the port on which this server is (or will be) listening.
- main
Creates and starts a newNGServer. A single optional argument is valid,
specifying the port on which
- allowsNailsByClassName
Returns a flag that indicates whether Nail lookups by classname are allowed. If
this is false, Nails
- getAliasManager
Returns the AliasManager in use by this NGServer.
- getDefaultNailClass
Returns the default class that will be used if no Nails can be found via alias
or classname.
- getNailStats
Returns a snapshot of this NGServer's nail statistics. The result is a
java.util.Map, keyed by class
- getOrCreateStatsFor
Returns the current NailStats object for the specified class, creating a new one
if necessary
- init
Sets up the NGServer internals
- isRunning
Returns true iff the server is currently running.
- nailFinished
Provides a means for an NGSession to register the completion of a nails
execution with the server.
- nailStarted
Provides a means for an NGSession to register the starting of a nail execution
with the server.