|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerComponent
Interface ServerComponent Object of this type can be managed by MessageRouter. All classes which are loaded by MessageRouter must inherit this interface. Created: Tue Nov 22 07:07:11 2005
| Method Summary | |
|---|---|
tigase.xmpp.JID |
getComponentId()
Method description |
String |
getName()
Method description |
void |
initializationCompleted()
Method is called by MessageRouter when all the startup components of
the server have been loaded and configured through setProperties(...) call. |
boolean |
isInitializationComplete()
Method returns information about whether the initialization process (initializationCompleted()) method has been called. |
void |
processPacket(Packet packet,
Queue<Packet> results)
processPacket is a blocking processing method implemented
by all components. |
void |
release()
Method description |
void |
setName(String name)
Method description |
| Method Detail |
|---|
void initializationCompleted()
MessageRouter when all the startup components of
the server have been loaded and configured through setProperties(...) call.
At this point the whole server should be loaded and functional, except
initializations taking place in this routine.
void processPacket(Packet packet,
Queue<Packet> results)
processPacket is a blocking processing method implemented
by all components. This method processes packet and returns results
instantly without waiting for any resources.
packet - a Packet valueresults - void release()
tigase.xmpp.JID getComponentId()
String getName()
boolean isInitializationComplete()
true if initialization of the object has been completed
false otherwisevoid setName(String name)
name -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||