public class Component
extends org.xmpp.component.AbstractComponent
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE |
static String |
NAMESPACE_EXP |
| Constructor and Description |
|---|
Component(String name,
URL endpoint)
Instantiates a new component.
|
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
discoInfoFeatureNamespaces() |
protected String |
discoInfoIdentityCategory() |
protected String |
discoInfoIdentityCategoryType() |
String |
getDescription() |
String |
getName() |
protected org.xmpp.packet.IQ |
handleDiscoInfo(org.xmpp.packet.IQ iq) |
protected org.xmpp.packet.IQ |
handleIQGet(org.xmpp.packet.IQ iq) |
getDomain, getJID, handleDiscoItems, handleEntityTime, handleIQError, handleIQResult, handleIQSet, handleLastActivity, handleMessage, handlePing, handlePresence, initialize, postComponentShutdown, postComponentStart, preComponentShutdown, preComponentStart, processPacket, send, servesLocalUsersOnly, shutdown, startpublic static final String NAMESPACE_EXP
public static final String NAMESPACE
public Component(String name, URL endpoint)
name - The component name (cannot be null or an empty String).endpoint - The base URL for HTTP interaction (cannot be null).public String getDescription()
getDescription in interface org.xmpp.component.ComponentgetDescription in class org.xmpp.component.AbstractComponentpublic String getName()
getName in interface org.xmpp.component.ComponentgetName in class org.xmpp.component.AbstractComponentprotected String discoInfoIdentityCategory()
discoInfoIdentityCategory in class org.xmpp.component.AbstractComponentprotected String discoInfoIdentityCategoryType()
discoInfoIdentityCategoryType in class org.xmpp.component.AbstractComponentprotected String[] discoInfoFeatureNamespaces()
discoInfoFeatureNamespaces in class org.xmpp.component.AbstractComponentprotected org.xmpp.packet.IQ handleDiscoInfo(org.xmpp.packet.IQ iq)
handleDiscoInfo in class org.xmpp.component.AbstractComponentCopyright © 2017 Goodbytes. All rights reserved.