|
||||||||||
| 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
|
| Fields inherited from class tigase.xmpp.XMPPProcessor |
|---|
ALL |
| 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)
|
protected static void |
dynamicSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
|
static String[] |
getItemGroups(tigase.xml.Element item)
Method description |
protected RosterAbstract |
getRosterUtil()
|
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)
|
protected void |
processSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
|
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[] |
supElements()
Method description |
String[] |
supNamespaces()
Method description |
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method description |
protected void |
updateHash(XMPPResourceConnection session,
Map<String,Object> settings)
|
| Methods inherited from class tigase.xmpp.XMPPProcessor |
|---|
compareTo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting |
| 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 |
|---|
concurrentThreadsPerQueue, getStatistics, init, isSupporting |
| 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
NotAuthorizedException
protected static void dynamicSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> 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[] supElements()
supElements in interface XMPPImplIfcsupElements 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
NotAuthorizedException
TigaseDBException
protected void processGetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
throws NotAuthorizedException,
TigaseDBException
NotAuthorizedException
TigaseDBException
protected void processSetRequest(Packet packet,
XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
throws XMPPException,
NotAuthorizedException,
TigaseDBException
XMPPException
NotAuthorizedException
TigaseDBException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||