|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.roster.RosterModule
public class RosterModule
Module for roster manipulation.
| Nested Class Summary | |
|---|---|
static class |
RosterModule.RosterEvent
|
| Field Summary | |
|---|---|
static Criteria |
CRIT
|
static EventType |
ItemAdded
|
static EventType |
ItemRemoved
|
static EventType |
ItemUpdated
|
| Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
log, observable, sessionObject, writer |
| Constructor Summary | |
|---|---|
RosterModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
|
|
| Method Summary | |
|---|---|
protected void |
add(BareJID jid,
String name,
Collection<String> groups,
AsyncCallback asyncCallback)
|
void |
afterRegister()
Called when module is registered. |
void |
beforeRegister()
Called just before registration module in XmppModulesManager . |
void |
beforeUnregister()
Called when module is unregistered. |
Criteria |
getCriteria()
Criteria |
String[] |
getFeatures()
Returns features what are implemented by Module. |
RosterCacheProvider |
getVersionProvider()
|
protected void |
onRosterCleared()
|
protected void |
processGet(IQ element)
Method for processing stanza <iq type='get'>. |
protected void |
processSet(IQ stanza)
Method for processing stanza <iq type='set'>. |
protected void |
remove(BareJID jid)
|
void |
rosterRequest()
Requests for roster. |
protected void |
update(RosterItem item)
|
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
addListener, addListener, process, removeAllListeners, removeListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Criteria CRIT
public static final EventType ItemAdded
public static final EventType ItemRemoved
public static final EventType ItemUpdated
| Constructor Detail |
|---|
public RosterModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
| Method Detail |
|---|
protected void add(BareJID jid,
String name,
Collection<String> groups,
AsyncCallback asyncCallback)
throws XMLException,
JaxmppException
XMLException
JaxmppExceptionpublic void afterRegister()
InitializingModule
afterRegister in interface InitializingModulepublic void beforeRegister()
InitializingModule
beforeRegister in interface InitializingModulepublic void beforeUnregister()
InitializingModule
beforeUnregister in interface InitializingModulepublic Criteria getCriteria()
XmppModule
getCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
See Service Discovery Features
getFeatures in interface XmppModulepublic RosterCacheProvider getVersionProvider()
protected void onRosterCleared()
protected void processGet(IQ element)
throws XMPPException,
XMLException
AbstractIQModule<iq type='get'>.
processGet in class AbstractIQModuleelement - incoming XMPP stanza
XMPPException
XMLException
protected void processSet(IQ stanza)
throws JaxmppException
AbstractIQModule<iq type='set'>.
processSet in class AbstractIQModulestanza - incoming XMPP stanza
JaxmppException
protected void remove(BareJID jid)
throws XMLException,
JaxmppException
XMLException
JaxmppException
public void rosterRequest()
throws XMLException,
JaxmppException
XMLException
JaxmppException
protected void update(RosterItem item)
throws XMLException,
JaxmppException
XMLException
JaxmppException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||