public class JabberIqRoster extends XMPPProcessor implements XMPPProcessorIfc, XMPPStopListenerIfc
JabberIqRoster implements part of RFC-3921 -
XMPP Instant Messaging specification describing roster management.
7. Roster Management
Created: Tue Feb 21 17:42:53 2006| Modifier and Type | Field and Description |
|---|---|
static String |
ANON
Field description
|
protected RosterAbstract |
roster_util
Field description
|
ALL_NAMES, ALL_PATHS, cmpInfoCLIENT_XMLNS| Constructor and Description |
|---|
JabberIqRoster() |
| Modifier and Type | Method and Description |
|---|---|
int |
concurrentQueuesNo()
Method description
|
protected static void |
dynamicGetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
protected static void |
dynamicSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
static String[] |
getItemGroups(tigase.xml.Element item)
Method description
|
protected RosterAbstract |
getRosterUtil()
Method description
|
String |
id()
Method description
|
void |
process(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
protected void |
processGetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
protected void |
processSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
void |
stopped(XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
stopped method is called when user disconnects or logs-out. |
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Method description
|
String[][] |
supElementNamePaths()
Method description
|
String[] |
supNamespaces()
Method description
|
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method description
|
protected void |
updateHash(XMPPResourceConnection session,
Map<String,Object> settings)
Method description
|
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, init, isSupporting, supElements, supTypes, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supElements, supTypescompareTopublic static final String ANON
protected RosterAbstract roster_util
public static String[] getItemGroups(tigase.xml.Element item)
item - protected static void dynamicGetRequest(Packet packet, XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings) throws NotAuthorizedException
packet - session - results - settings - NotAuthorizedExceptionprotected static void dynamicSetRequest(Packet packet, XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings)
packet - session - results - settings - public int concurrentQueuesNo()
concurrentQueuesNo in interface XMPPImplIfcconcurrentQueuesNo in class XMPPProcessorpublic String id()
id in interface XMPPImplIfcString valuepublic void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process in interface XMPPProcessorIfcpacket - session - repo - results - settings - XMPPExceptionpublic void stopped(XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings)
stopped method is called when user disconnects or logs-out.stopped in interface XMPPStopListenerIfcsession - a XMPPResourceConnection valueresults - settings - public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - Element[] valuepublic String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfcsupElementNamePaths in class XMPPProcessorString[][] value is an array for element paths for which
the plugin offers processing capabilities. Each path is in form of a String array
in order to reduce parsing overhead.public String[] supNamespaces()
supNamespaces in interface XMPPImplIfcsupNamespaces in class XMPPProcessorString[] valuepublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsupStreamFeatures in class XMPPProcessorsession - Element[] valueprotected RosterAbstract getRosterUtil()
protected void updateHash(XMPPResourceConnection session, Map<String,Object> settings) throws NotAuthorizedException, TigaseDBException
session - settings - NotAuthorizedExceptionTigaseDBExceptionprotected void processGetRequest(Packet packet, XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings) throws NotAuthorizedException, TigaseDBException
packet - session - results - settings - NotAuthorizedExceptionTigaseDBExceptionprotected void processSetRequest(Packet packet, XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings) throws XMPPException, NotAuthorizedException, TigaseDBException
packet - session - results - settings - NotAuthorizedExceptionTigaseDBExceptionXMPPExceptionCopyright © 2013 Tigase. All rights reserved.