|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractComponentRegistrator<XMPPService>
tigase.disco.XMPPServiceCollector
public abstract class XMPPServiceCollector
Class XMPPServiceCollector Created: Tue Nov 22 07:07:11 2005
| Field Summary |
|---|
| Fields inherited from class tigase.server.AbstractComponentRegistrator |
|---|
components |
| Fields inherited from class tigase.server.BasicComponent |
|---|
admins, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
| Fields inherited from interface tigase.disco.XMPPService |
|---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
| Constructor Summary | |
|---|---|
XMPPServiceCollector()
|
|
| Method Summary | |
|---|---|
void |
componentAdded(XMPPService component)
Method provides a callback mechanism signaling that a new component implementing special interface has been added to the internal components collection. |
void |
componentRemoved(XMPPService component)
Method provides a callback mechanism signaling that a component implementing special interface has been removed from the internal components
collection. |
boolean |
isCorrectType(ServerComponent component)
Method checks whether the component provides as method parameter is correct type that is implements special interface or extends special class. |
void |
processPacket(Packet packet,
java.util.Queue<Packet> results)
Method description |
| Methods inherited from class tigase.server.AbstractComponentRegistrator |
|---|
addComponent, deleteComponent, getComponent, newPacketId, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.server.ServerComponent |
|---|
getComponentId, getName, initializationCompleted, setName |
| Constructor Detail |
|---|
public XMPPServiceCollector()
| Method Detail |
|---|
public void componentAdded(XMPPService component)
AbstractComponentRegistratorcomponents collection.
componentAdded in class AbstractComponentRegistrator<XMPPService>component - is a reference to the component just added to the collection.public boolean isCorrectType(ServerComponent component)
AbstractComponentRegistratorcomponents
collection.
isCorrectType in class AbstractComponentRegistrator<XMPPService>component - is a reference to the component being checked.
boolean value of true if the component is of a
correct type and false otherwise.public void componentRemoved(XMPPService component)
AbstractComponentRegistratorcomponents
collection.
componentRemoved in class AbstractComponentRegistrator<XMPPService>component - is a reference to the component removed from the collection.
public void processPacket(Packet packet,
java.util.Queue<Packet> results)
BasicComponent
processPacket in interface ServerComponentprocessPacket in class BasicComponentpacket - a Packet value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||