|
Openfire 3.8.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentEventListener
Interface to listen for component events. Use the
InternalComponentManager.addListener(ComponentEventListener)
method to register for events.
The registered event will be triggered only once no matter how many times a component is physically connected to the server or to how many cluster nodes is connected. Likewise, the unregistered event will be triggered only when the last connection of the component is no longer available.
When running inside of a cluster each cluster node will get these event notifications. For instance, if you have a cluster of two nodes and a component connects to a node then both nodes will get the event notification.
Method Summary | |
---|---|
void |
componentInfoReceived(org.xmpp.packet.IQ iq)
The server has received a disco#info response from the component. |
void |
componentRegistered(org.xmpp.packet.JID componentJID)
A component was registered with the Component Manager. |
void |
componentUnregistered(org.xmpp.packet.JID componentJID)
A component was removed. |
Method Detail |
---|
void componentRegistered(org.xmpp.packet.JID componentJID)
componentJID
- address where the component can be located (e.g. search.myserver.com)void componentUnregistered(org.xmpp.packet.JID componentJID)
componentJID
- address where the component was located (e.g. search.myserver.com)void componentInfoReceived(org.xmpp.packet.IQ iq)
iq
- the IQ packet with the disco#info sent by the component.
|
Openfire 3.8.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |