tigase.jaxmpp.core.client.xmpp.modules.capabilities
Class CapabilitiesModule
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.capabilities.CapabilitiesModule
- All Implemented Interfaces:
- tigase.jaxmpp.core.client.XmppModule
public class CapabilitiesModule
- extends Object
- implements tigase.jaxmpp.core.client.XmppModule
|
Constructor Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_NAME_KEY
public static final String NODE_NAME_KEY
- See Also:
- Constant Field Values
VERIFICATION_STRING_KEY
public static final String VERIFICATION_STRING_KEY
- See Also:
- Constant Field Values
CapabilitiesModule
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)
generateVerificationString
public static String generateVerificationString(String[] identities,
String[] features)
getCache
public CapabilitiesCache getCache()
getCriteria
public tigase.jaxmpp.core.client.criteria.Criteria getCriteria()
- Specified by:
getCriteria in interface tigase.jaxmpp.core.client.XmppModule
getFeatures
public String[] getFeatures()
- Specified by:
getFeatures in interface tigase.jaxmpp.core.client.XmppModule
getNodeName
protected String getNodeName()
isEnabled
protected boolean isEnabled()
onBeforePresenceSend
protected void onBeforePresenceSend(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
- Throws:
tigase.jaxmpp.core.client.xml.XMLException
onDiscoInfoModuleRequest
protected void onDiscoInfoModuleRequest(tigase.jaxmpp.core.client.xmpp.modules.disco.DiscoInfoModule.DiscoInfoEvent be)
onReceivedPresence
protected void onReceivedPresence(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
- Throws:
tigase.jaxmpp.core.client.exceptions.JaxmppException
process
public 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
- Specified by:
process in interface tigase.jaxmpp.core.client.XmppModule
- Throws:
tigase.jaxmpp.core.client.XMPPException
tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.exceptions.JaxmppException
setCache
public void setCache(CapabilitiesCache cache)
Copyright © 2006-2012 Tigase. All Rights Reserved.