tigase.xmpp.impl
Class RemoteRosterManagement

java.lang.Object
  extended by tigase.xmpp.XMPPProcessor
      extended by tigase.xmpp.XMPPProcessorAbstract
          extended by tigase.xmpp.impl.RemoteRosterManagement
All Implemented Interfaces:
Comparable<XMPPImplIfc>, XMPPImplIfc, XMPPProcessorIfc

public class RemoteRosterManagement
extends XMPPProcessorAbstract

Author:
andrzej

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS
 
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
 
Constructor Summary
RemoteRosterManagement()
           
 
Method Summary
 int concurrentQueuesNo()
          Method description
 String id()
          Method description
static boolean isRemoteAllowed(tigase.xmpp.JID jid, XMPPResourceConnection session)
          Method description
 void processFromUserToServerPacket(tigase.xmpp.JID connectionId, Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processServerSessionPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processToUserPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 String[][] supElementNamePaths()
          Method description
 String[] supNamespaces()
          Method description
static void updateBuddyChange(XMPPResourceConnection session, tigase.xml.Element item, tigase.xml.Element update, Queue<Packet> results)
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessorAbstract
process, processFromUserOutPacket, processFromUserPacket, processNullSessionPacket
 
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supDiscoFeatures, supElements, supStreamFeatures, 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, supDiscoFeatures, supElements, supStreamFeatures, supTypes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

RemoteRosterManagement

public RemoteRosterManagement()
Method Detail

id

public String id()
Method description

Returns:

concurrentQueuesNo

public int concurrentQueuesNo()
Method description

Specified by:
concurrentQueuesNo in interface XMPPImplIfc
Overrides:
concurrentQueuesNo in class XMPPProcessor
Returns:

processFromUserToServerPacket

public void processFromUserToServerPacket(tigase.xmpp.JID connectionId,
                                          Packet packet,
                                          XMPPResourceConnection session,
                                          NonAuthUserRepository repo,
                                          Queue<Packet> results,
                                          Map<String,Object> settings)
                                   throws PacketErrorTypeException
Method description

Specified by:
processFromUserToServerPacket in class XMPPProcessorAbstract
Parameters:
connectionId -
packet -
session -
repo -
results -
settings -
Throws:
PacketErrorTypeException

processServerSessionPacket

public void processServerSessionPacket(Packet packet,
                                       XMPPResourceConnection session,
                                       NonAuthUserRepository repo,
                                       Queue<Packet> results,
                                       Map<String,Object> settings)
                                throws PacketErrorTypeException
Method description

Specified by:
processServerSessionPacket in class XMPPProcessorAbstract
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
PacketErrorTypeException

processToUserPacket

public void processToUserPacket(Packet packet,
                                XMPPResourceConnection session,
                                NonAuthUserRepository repo,
                                Queue<Packet> results,
                                Map<String,Object> settings)
                         throws PacketErrorTypeException
Method description

Overrides:
processToUserPacket in class XMPPProcessorAbstract
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
PacketErrorTypeException

supElementNamePaths

public String[][] supElementNamePaths()
Method description

Specified by:
supElementNamePaths in interface XMPPImplIfc
Overrides:
supElementNamePaths in class XMPPProcessor
Returns:

supNamespaces

public String[] supNamespaces()
Method description

Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor
Returns:

isRemoteAllowed

public static boolean isRemoteAllowed(tigase.xmpp.JID jid,
                                      XMPPResourceConnection session)
Method description

Parameters:
jid -
session -
Returns:

updateBuddyChange

public static void updateBuddyChange(XMPPResourceConnection session,
                                     tigase.xml.Element item,
                                     tigase.xml.Element update,
                                     Queue<Packet> results)
                              throws NotAuthorizedException,
                                     TigaseDBException
Method description

Parameters:
session -
item -
update -
results -
Throws:
NotAuthorizedException
TigaseDBException


Copyright © 2013 Tigase. All rights reserved.