tigase.xmpp.impl
Class JabberIqPrivacy

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

public class JabberIqPrivacy
extends XMPPProcessor
implements XMPPProcessorIfc, XMPPPreprocessorIfc, XMPPPacketFilterIfc

Describe class JabberIqPrivacy here. Created: Mon Oct 9 18:18:11 2006

Version:
$Rev$
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS
 
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
 
Constructor Summary
JabberIqPrivacy()
           
 
Method Summary
 void filter(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results)
          Method description
 String id()
          Method description
 boolean preProcess(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          preProcess method checks only incoming stanzas so it doesn't check for presence-out at all.
 void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
          Method description
 String[][] supElementNamePaths()
          Method description
 String[] supNamespaces()
          Method description
static Authorization validateList(XMPPResourceConnection session, List<tigase.xml.Element> items)
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, 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, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

JabberIqPrivacy

public JabberIqPrivacy()
Method Detail

filter

public void filter(Packet packet,
                   XMPPResourceConnection session,
                   NonAuthUserRepository repo,
                   Queue<Packet> results)
Method description

Specified by:
filter in interface XMPPPacketFilterIfc
Parameters:
packet -
session -
repo -
results -

id

public String id()
Method description

Specified by:
id in interface XMPPImplIfc
Returns:

preProcess

public boolean preProcess(Packet packet,
                          XMPPResourceConnection session,
                          NonAuthUserRepository repo,
                          Queue<Packet> results,
                          Map<String,Object> settings)
preProcess method checks only incoming stanzas so it doesn't check for presence-out at all.

Specified by:
preProcess in interface XMPPPreprocessorIfc
Parameters:
packet - a Packet value
session - a XMPPResourceConnection value
repo - a NonAuthUserRepository value
results -
settings -
Returns:
a boolean value

process

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

Specified by:
process in interface XMPPProcessorIfc
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
XMPPException

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Method description

Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor
Parameters:
session -
Returns:

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:

validateList

public static Authorization validateList(XMPPResourceConnection session,
                                         List<tigase.xml.Element> items)
Method description

Parameters:
session -
items -
Returns:


Copyright © 2013 Tigase. All rights reserved.