org.xsocket
Interface ILifeCycle

Package class diagram package ILifeCycle
All Known Subinterfaces:
ILifeCycle, IMutlithreadedServerListener
All Known Implementing Classes:
HandlerChain

public interface ILifeCycle

The interfaces defines call back methods, that signals when an entity has been initialized or destroyed.


Method Summary
 void onDestroy()
          signals that the entity will be destroyed
 void onInit()
          signals that the entity has been loaded and initialized
 

Method Detail

onInit

void onInit()
signals that the entity has been loaded and initialized


onDestroy

void onDestroy()
signals that the entity will be destroyed