public class MobileV3 extends XMPPProcessor implements XMPPProcessorIfc, XMPPPacketFilterIfc
ALL_NAMES, ALL_PATHS, cmpInfo
CLIENT_XMLNS
Constructor and Description |
---|
MobileV3() |
Modifier and Type | Method and Description |
---|---|
void |
filter(Packet _packet,
XMPPResourceConnection sessionFromSM,
NonAuthUserRepository repo,
Queue<Packet> results)
Method description
|
String |
id()
Method description
|
void |
init(Map<String,Object> settings)
Method description
|
protected static boolean |
isQueueEnabled(XMPPResourceConnection session)
Check if queuing is enabled
|
void |
process(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Method description
|
String[][] |
supElementNamePaths()
Method description
|
String[] |
supNamespaces()
Method description
|
tigase.xml.Element[] |
supStreamFeatures(XMPPResourceConnection session)
Method description
|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes
compareTo
public String id()
id
in interface XMPPImplIfc
String
valuepublic void init(Map<String,Object> settings) throws TigaseDBException
init
in interface XMPPImplIfc
init
in class XMPPProcessor
settings
- TigaseDBException
public void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
process
in interface XMPPProcessorIfc
packet
- session
- repo
- results
- settings
- public 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[]
valuepublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures
in interface XMPPImplIfc
supStreamFeatures
in class XMPPProcessor
session
- Element[]
valuepublic void filter(Packet _packet, XMPPResourceConnection sessionFromSM, NonAuthUserRepository repo, Queue<Packet> results)
filter
in interface XMPPPacketFilterIfc
_packet
- sessionFromSM
- repo
- results
- protected static boolean isQueueEnabled(XMPPResourceConnection session)
session
- Copyright © 2014 "Tigase, Inc.". All rights reserved.