|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.user1.union.module.MaxClients
public class MaxClients
A module that only allows a configurable number of clients to be connected to the server at the same time.
Constructor Summary | |
---|---|
MaxClients()
|
Method Summary | |
---|---|
boolean |
init(ModuleContext ctx)
Called when the module is initialized. |
void |
onConnection(ConnectionEvent evt)
|
void |
shutdown()
Called when the module is shutdown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxClients()
Method Detail |
---|
public boolean init(ModuleContext ctx)
Module
init
in interface Module
public void onConnection(ConnectionEvent evt)
public void shutdown()
Module
shutdown
in interface Module
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |