tigase.jaxmpp.core.client.xmpp.modules.roster
Class RosterModule
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.roster.RosterModule
- All Implemented Interfaces:
- XmppModule, XmppModulesManager.InitializingBean
public class RosterModule
- extends AbstractIQModule
- implements XmppModulesManager.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRIT
public static final Criteria CRIT
ItemAdded
public static final EventType ItemAdded
ItemRemoved
public static final EventType ItemRemoved
ItemUpdated
public static final EventType ItemUpdated
RosterModule
public RosterModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
add
protected void add(BareJID jid,
String name,
Collection<String> groups,
AsyncCallback asyncCallback)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
getCriteria
public Criteria getCriteria()
- Description copied from interface:
XmppModule
- Criteria
- Specified by:
getCriteria in interface XmppModule
- Returns:
getFeatures
public String[] getFeatures()
- Description copied from interface:
XmppModule
Returns features what are implemented by Module.
See Service
Discovery Features
- Specified by:
getFeatures in interface XmppModule
- Returns:
- array of features
getVersionProvider
public RosterCacheProvider getVersionProvider()
init
public void init()
throws JaxmppException
- Specified by:
init in interface XmppModulesManager.InitializingBean
- Throws:
JaxmppException
onRosterCleared
protected void onRosterCleared()
processGet
protected void processGet(IQ element)
throws XMPPException,
XMLException
- Description copied from class:
AbstractIQModule
- Method for processing stanza
<iq type='get'>.
- Specified by:
processGet in class AbstractIQModule
- Parameters:
element - incoming XMPP stanza
- Throws:
XMPPException
XMLException
processSet
protected void processSet(IQ stanza)
throws JaxmppException
- Description copied from class:
AbstractIQModule
- Method for processing stanza
<iq type='set'>.
- Specified by:
processSet in class AbstractIQModule
- Parameters:
stanza - incoming XMPP stanza
- Throws:
JaxmppException
remove
protected void remove(BareJID jid)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
rosterRequest
public void rosterRequest()
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
update
protected void update(RosterItem item)
throws XMLException,
JaxmppException
- Throws:
XMLException
JaxmppException
Copyright © 2006-2012 Tigase. All Rights Reserved.