|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.xmpp.XMPPProcessor
tigase.xmpp.impl.JabberIqPrivacy
public class JabberIqPrivacy
Describe class JabberIqPrivacy here. Created: Mon Oct 9 18:18:11 2006
| Constructor Summary | |
|---|---|
JabberIqPrivacy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
id()
Method id returns a unique ID of the plugin. |
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)
Method supDiscoFeatures returns an array of XML
Elements with service discovery features which have to be
returned to the client uppon request. |
java.lang.String[] |
supElements()
Method supElements returns an array of element names for stanzas
which can be processed by this plugin. |
java.lang.String[] |
supNamespaces()
Method supNamespaces returns an array of namespaces for stanzas
which can be processed by this pluing. |
| Methods inherited from class tigase.xmpp.XMPPProcessor |
|---|
compareTo, getInstance, init, 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 |
|---|
init, isSupporting, supStreamFeatures |
| Constructor Detail |
|---|
public JabberIqPrivacy()
| Method Detail |
|---|
public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
XMPPImplIfcsupDiscoFeatures returns an array of XML
Elements with service discovery features which have to be
returned to the client uppon request. Service discovery features returned
by this method correspond to services supported by this plugin.
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - a XMPPResourceConnection value
Element[] valuepublic java.lang.String id()
XMPPImplIfcid returns a unique ID of the plugin.
Each plugin has own, unique ID which is used in the configuration file
to determine whether it needs to be loaded or not.
In most cases the ID can be equal to XMLNS of the packages processed
by the plugin.
id in interface XMPPImplIfcString valuepublic java.lang.String[] supElements()
XMPPImplIfcsupElements returns an array of element names for stanzas
which can be processed by this plugin. Each element name corresponds to
XMLNS returned in array by supNamespaces() method.
supElements in interface XMPPImplIfcsupElements in class XMPPProcessorString[] valuepublic java.lang.String[] supNamespaces()
XMPPImplIfcsupNamespaces returns an array of namespaces for stanzas
which can be processed by this pluing. Each namespace corresponds to element
name returned in array by supElemenets() method.
supNamespaces in interface XMPPImplIfcsupNamespaces in class XMPPProcessorString[] value
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.
preProcess in interface XMPPPreprocessorIfcpacket - a Packet valuesession - a XMPPResourceConnection valuerepo - a NonAuthUserRepository valueresults -
boolean value
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
process in interface XMPPProcessorIfcXMPPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||