Package nl.goodbytes.xmpp.xep0363
Class Component
- java.lang.Object
-
- org.xmpp.component.AbstractComponent
-
- nl.goodbytes.xmpp.xep0363.Component
-
- All Implemented Interfaces:
org.xmpp.component.Component
public class Component extends org.xmpp.component.AbstractComponentA XMPP component that implements XEP-0363.- Author:
- Guus der Kinderen, guus@goodbytes.nl
- See Also:
- XEP-0363
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMESPACEstatic StringNAMESPACE_EXP
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]discoInfoFeatureNamespaces()protected StringdiscoInfoIdentityCategory()protected StringdiscoInfoIdentityCategoryType()StringgetDescription()StringgetName()protected org.xmpp.packet.IQhandleDiscoInfo(org.xmpp.packet.IQ iq)protected org.xmpp.packet.IQhandleIQGet(org.xmpp.packet.IQ iq)-
Methods inherited from class org.xmpp.component.AbstractComponent
getDomain, getJID, handleDiscoItems, handleEntityTime, handleIQError, handleIQResult, handleIQSet, handleLastActivity, handleMessage, handlePing, handlePresence, initialize, postComponentShutdown, postComponentStart, preComponentShutdown, preComponentStart, processPacket, send, servesLocalUsersOnly, shutdown, start
-
-
-
-
Field Detail
-
NAMESPACE_EXP
public static final String NAMESPACE_EXP
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Component
public Component(String name)
Instantiates a new component.- Parameters:
name- The component name (cannot be null or an empty String).
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.xmpp.component.Component- Specified by:
getDescriptionin classorg.xmpp.component.AbstractComponent
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.xmpp.component.Component- Specified by:
getNamein classorg.xmpp.component.AbstractComponent
-
discoInfoIdentityCategory
protected String discoInfoIdentityCategory()
- Overrides:
discoInfoIdentityCategoryin classorg.xmpp.component.AbstractComponent
-
discoInfoIdentityCategoryType
protected String discoInfoIdentityCategoryType()
- Overrides:
discoInfoIdentityCategoryTypein classorg.xmpp.component.AbstractComponent
-
discoInfoFeatureNamespaces
protected String[] discoInfoFeatureNamespaces()
- Overrides:
discoInfoFeatureNamespacesin classorg.xmpp.component.AbstractComponent
-
handleDiscoInfo
protected org.xmpp.packet.IQ handleDiscoInfo(org.xmpp.packet.IQ iq)
- Overrides:
handleDiscoInfoin classorg.xmpp.component.AbstractComponent
-
-