public class JabberIqIq extends XMPPProcessor implements XMPPProcessorIfc, XMPPPreprocessorIfc
ALL_NAMES, ALL_PATHS, cmpInfoCLIENT_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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypescompareTopublic static String calculateIQ(String iq_level)
iq_level - public String id()
id in interface XMPPImplIfcString valuepublic boolean preProcess(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
preProcess in interface XMPPPreprocessorIfcpacket - 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 XMPPProcessorIfcpacket - session - repo - results - settings - XMPPExceptionpublic tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - Element[] valuepublic String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfcsupElementNamePaths in class XMPPProcessorString[][] 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 XMPPImplIfcsupNamespaces in class XMPPProcessorString[] valueCopyright © 2014 "Tigase, Inc.". All rights reserved.