tigase.xmpp.impl
Class JabberIqPrivacy

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

public class JabberIqPrivacy
extends XMPPProcessor
implements XMPPProcessorIfc, XMPPPreprocessorIfc

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

Version:
$Rev: 857 $
Author:
Artur Hefczyc

Constructor Summary
JabberIqPrivacy()
           
 
Method Summary
 java.lang.String id()
           
 boolean preProcess(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, java.util.Queue<Packet> results)
          preProcess method checks only incoming stanzas so it doesn't check for presence-out at all.
 void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, java.util.Queue<Packet> results, java.util.Map<java.lang.String,java.lang.Object> settings)
           
 tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
           
 java.lang.String[] supElements()
           
 java.lang.String[] supNamespaces()
           
 
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, getInstance, isSupporting, supStreamFeatures
 
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
isSupporting, supStreamFeatures
 

Constructor Detail

JabberIqPrivacy

public JabberIqPrivacy()
Method Detail

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor

id

public java.lang.String id()
Specified by:
id in interface XMPPImplIfc

supElements

public java.lang.String[] supElements()
Specified by:
supElements in interface XMPPImplIfc
Overrides:
supElements in class XMPPProcessor

supNamespaces

public java.lang.String[] supNamespaces()
Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor

preProcess

public boolean preProcess(Packet packet,
                          XMPPResourceConnection session,
                          NonAuthUserRepository repo,
                          java.util.Queue<Packet> results)
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
Returns:
a boolean value

process

public void process(Packet packet,
                    XMPPResourceConnection session,
                    NonAuthUserRepository repo,
                    java.util.Queue<Packet> results,
                    java.util.Map<java.lang.String,java.lang.Object> settings)
             throws XMPPException
Specified by:
process in interface XMPPProcessorIfc
Throws:
XMPPException


Copyright © 2008 Tigase. All Rights Reserved.