com.threerings.presents.server
Class Rejector
java.lang.Object
com.threerings.presents.server.PresentsServer
com.threerings.presents.server.Rejector
public class Rejector
- extends PresentsServer
A simple server that does nothing more than spit out a canned error response to everyone who
logs in.
| Fields inherited from class com.threerings.presents.server.PresentsServer |
_authInvoker, _clmgr, _conmgr, _datagramReader, _invmgr, _invoker, _lifecycle, _omgr, _socketAcceptor, invmgr, omgr |
|
Method Summary |
protected int[] |
getListenPorts()
Returns the port on which the connection manager will listen for client connections or an
empty array to skip binding and have an external entity transfer accepted sockets into
the connection manager. |
static void |
main(String[] args)
|
| Methods inherited from class com.threerings.presents.server.PresentsServer |
createDefaultObjectAccessController, createSocketAcceptor, getBindHostname, getDatagramHostname, getDatagramPorts, init, invokerDidShutdown, openToThePublic, queueShutdown, registerSignalHandlers, run, runServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_errmsg
protected static String _errmsg
_ports
protected static int[] _ports
Rejector
public Rejector()
getListenPorts
protected int[] getListenPorts()
- Description copied from class:
PresentsServer
- Returns the port on which the connection manager will listen for client connections or an
empty array to skip binding and have an external entity transfer accepted sockets into
the connection manager.
- Overrides:
getListenPorts in class PresentsServer
main
public static void main(String[] args)