it.gotoandplay.smartfoxserver.extensions.examples
Class SchedulerExample
java.lang.Object
it.gotoandplay.smartfoxserver.extensions.AbstractExtension
it.gotoandplay.smartfoxserver.extensions.examples.SchedulerExample
- All Implemented Interfaces:
- it.gotoandplay.smartfoxserver.events.IEventListener, it.gotoandplay.smartfoxserver.extensions.ISmartFoxExtension
public class SchedulerExample
- extends AbstractExtension
| Methods inherited from class it.gotoandplay.smartfoxserver.extensions.AbstractExtension |
getOwnerRoom, getOwnerZone, handleInternalRequest, handleRequest, isActive, loadConfig, registerForEvents, sendResponse, sendResponse, sendResponse, sendResponse, setActive, setOwner, trace, unRegister |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulerExample
public SchedulerExample()
init
public void init()
- Description copied from class:
AbstractExtension
- This method should be overridden by the child class.
Here you should run your extension initialization code. This method is executed once, when the extension is started.
- Specified by:
init in interface it.gotoandplay.smartfoxserver.extensions.ISmartFoxExtension- Overrides:
init in class AbstractExtension
destroy
public void destroy()
- Description copied from class:
AbstractExtension
- This method should be overridden by the child class.
This method is called when the extension is being stopped buy the server: here you should release
the resources acquired by the extension (close files, db connections etc...)
- Specified by:
destroy in interface it.gotoandplay.smartfoxserver.extensions.ISmartFoxExtension- Overrides:
destroy in class AbstractExtension
handleRequest
public void handleRequest(java.lang.String cmd,
java.lang.String[] params,
User u,
int fromRoom)
handleRequest
public void handleRequest(java.lang.String cmd,
ActionscriptObject ao,
User u,
int fromRoom)
handleInternalEvent
public void handleInternalEvent(InternalEventObject ieo)