tigase.jaxmpp.core.client.xmpp.modules.capabilities
Class CapabilitiesModule

java.lang.Object
  extended by 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


Field Summary
static String NODE_NAME_KEY
           
static String VERIFICATION_STRING_KEY
           
 
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)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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-2013 Tigase. All Rights Reserved.