|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.user1.union.module.MaxRooms
public class MaxRooms
This module enforces a max room limitation on the server. It requires the attribute maxRooms. Example:
MaxRooms 50
Constructor Summary | |
---|---|
MaxRooms()
|
Method Summary | |
---|---|
boolean |
init(ModuleContext ctx)
Called when the module is initialized. |
void |
onRoomCreateRequest(ServerEvent 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 MaxRooms()
Method Detail |
---|
public boolean init(ModuleContext ctx)
Module
init
in interface Module
public void onRoomCreateRequest(ServerEvent 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 |