net.user1.union.api
Interface Module

All Known Implementing Classes:
MaxClients, MaxConcurrentConnection, MaxRooms

public interface Module

A module extends the functionality of the server or a specific room.


Method Summary
 boolean init(ModuleContext ctx)
          Called when the module is initialized.
 void shutdown()
          Called when the module is shutdown.
 

Method Detail

init

boolean init(ModuleContext ctx)
Called when the module is initialized. A module that fails to initialize will not be deployed.

Returns:
false if the module failed to initialize, otherwise true.

shutdown

void shutdown()
Called when the module is shutdown. Use this method to cleanup any resources created by the module.



Copyright USER1 Subsystems Corporation - Sun Oct 16 2011, 10:38 PM -0400