public class JabberIqIq extends XMPPProcessor implements XMPPProcessorIfc, XMPPPreprocessorIfc
ALL_NAMES, ALL_PATHS, cmpInfo
CLIENT_XMLNS
Constructor and Description |
---|
JabberIqIq() |
Modifier and Type | Method and Description |
---|---|
static String |
calculateIQ(String iq_level)
IQ range table:
Number Range Descriptive Label
140+ genius
120-139 very superior
110-119 superior
90-109 normal
80-89 dull
70-79 borderline deficiency
50-69 moron
20-49 imbecile
0-19 idiot
|
String |
id()
Method description
|
boolean |
preProcess(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
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
|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
compareTo
public static String calculateIQ(String iq_level)
iq_level
- public String id()
id
in interface XMPPImplIfc
String
valuepublic boolean preProcess(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
preProcess
in interface XMPPPreprocessorIfc
packet
- session
- repo
- results
- settings
- public void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process
in interface XMPPProcessorIfc
packet
- session
- repo
- results
- settings
- XMPPException
public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures
in interface XMPPImplIfc
supDiscoFeatures
in class XMPPProcessor
session
- Element[]
valuepublic String[][] supElementNamePaths()
supElementNamePaths
in interface XMPPImplIfc
supElementNamePaths
in class XMPPProcessor
String[][]
value is an array for element paths for which
the plugin offers processing capabilities. Each path is in form of a String array
in order to reduce parsing overhead.public String[] supNamespaces()
supNamespaces
in interface XMPPImplIfc
supNamespaces
in class XMPPProcessor
String[]
valueCopyright © 2014 "Tigase, Inc.". All rights reserved.