public class CapabilitiesModule extends Object implements tigase.jaxmpp.core.client.XmppModule
| Modifier and Type | Field and Description |
|---|---|
static String |
NODE_NAME_KEY |
static String |
VERIFICATION_STRING_KEY |
| Constructor and Description |
|---|
CapabilitiesModule(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.PacketWriter writer,
tigase.jaxmpp.core.client.xmpp.modules.disco.DiscoInfoModule discoInfoModule,
tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule presenceModule,
tigase.jaxmpp.core.client.XmppModulesManager modulesManager) |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateVerificationString(String[] identities,
String[] features) |
CapabilitiesCache |
getCache() |
tigase.jaxmpp.core.client.criteria.Criteria |
getCriteria() |
String[] |
getFeatures() |
protected String |
getNodeName() |
protected boolean |
isEnabled() |
protected void |
onBeforePresenceSend(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be) |
protected void |
onDiscoInfoModuleRequest(tigase.jaxmpp.core.client.xmpp.modules.disco.DiscoInfoModule.DiscoInfoEvent be) |
protected void |
onReceivedPresence(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be) |
void |
process(tigase.jaxmpp.core.client.xml.Element element) |
void |
setCache(CapabilitiesCache cache) |
public static final String NODE_NAME_KEY
public static final String VERIFICATION_STRING_KEY
public CapabilitiesModule(tigase.jaxmpp.core.client.SessionObject sessionObject,
tigase.jaxmpp.core.client.PacketWriter writer,
tigase.jaxmpp.core.client.xmpp.modules.disco.DiscoInfoModule discoInfoModule,
tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule presenceModule,
tigase.jaxmpp.core.client.XmppModulesManager modulesManager)
public static String generateVerificationString(String[] identities, String[] features)
public CapabilitiesCache getCache()
public tigase.jaxmpp.core.client.criteria.Criteria getCriteria()
getCriteria in interface tigase.jaxmpp.core.client.XmppModulepublic String[] getFeatures()
getFeatures in interface tigase.jaxmpp.core.client.XmppModuleprotected String getNodeName()
protected boolean isEnabled()
protected void onBeforePresenceSend(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void onDiscoInfoModuleRequest(tigase.jaxmpp.core.client.xmpp.modules.disco.DiscoInfoModule.DiscoInfoEvent be)
protected void onReceivedPresence(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void process(tigase.jaxmpp.core.client.xml.Element element)
throws tigase.jaxmpp.core.client.XMPPException,
tigase.jaxmpp.core.client.xml.XMLException,
tigase.jaxmpp.core.client.exceptions.JaxmppException
process in interface tigase.jaxmpp.core.client.XmppModuletigase.jaxmpp.core.client.XMPPExceptiontigase.jaxmpp.core.client.xml.XMLExceptiontigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void setCache(CapabilitiesCache cache)
Copyright © 2006–2014 Tigase. All rights reserved.