|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.xmpp.XMPPProcessor
tigase.xmpp.impl.JabberIqRoster
public class JabberIqRoster
Class JabberIqRoster implements part of RFC-3921 -
XMPP Instant Messaging specification describing roster management.
7. Roster Management
Created: Tue Feb 21 17:42:53 2006
| Field Summary | |
|---|---|
static String |
ANON
Field description |
protected RosterAbstract |
roster_util
Field description |
| Fields inherited from class tigase.xmpp.XMPPProcessor |
|---|
ALL_NAMES, ALL_PATHS |
| Fields inherited from interface tigase.xmpp.XMPPImplIfc |
|---|
CLIENT_XMLNS |
| Constructor Summary | |
|---|---|
JabberIqRoster()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class tigase.xmpp.XMPPProcessor |
|---|
canHandle, compareTo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supElements, supTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.xmpp.XMPPImplIfc |
|---|
canHandle, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supTypes |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final String ANON
protected RosterAbstract roster_util
| Constructor Detail |
|---|
public JabberIqRoster()
| Method Detail |
|---|
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 -
NotAuthorizedException
protected 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 XMPPImplIfc
public 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 -
XMPPException
public 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 -
public String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfcsupElementNamePaths in class XMPPProcessorpublic String[] supNamespaces()
supNamespaces in interface XMPPImplIfcsupNamespaces in class XMPPProcessorpublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsupStreamFeatures in class XMPPProcessorsession -
protected RosterAbstract getRosterUtil()
protected void updateHash(XMPPResourceConnection session,
Map<String,Object> settings)
throws NotAuthorizedException,
TigaseDBException
session - settings -
NotAuthorizedException
TigaseDBException
protected void processGetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
throws NotAuthorizedException,
TigaseDBException
packet - session - results - settings -
NotAuthorizedException
TigaseDBException
protected void processSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
throws XMPPException,
NotAuthorizedException,
TigaseDBException
packet - session - results - settings -
NotAuthorizedException
TigaseDBException
XMPPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||