tigase.xmpp.impl
public class MobileV2 extends XMPPProcessor implements XMPPProcessorIfc, XMPPPacketFilterIfc
ALL_NAMES, ALL_PATHS
CLIENT_XMLNS
Constructor and Description |
---|
MobileV2() |
Modifier and Type | Method and Description |
---|---|
void |
filter(Packet _packet,
XMPPResourceConnection sessionFromSM,
NonAuthUserRepository repo,
Queue<Packet> results)
Method description
|
boolean |
filter(XMPPResourceConnection session,
Packet res,
Map<tigase.xmpp.JID,Packet> queue)
Method description
|
String |
id()
Method description
|
void |
init(Map<String,Object> settings)
Method description
|
protected 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, getInstance, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes
compareTo
public String id()
id
in interface XMPPImplIfc
public 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
public String[] supNamespaces()
supNamespaces
in interface XMPPImplIfc
supNamespaces
in class XMPPProcessor
public tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures
in interface XMPPImplIfc
supStreamFeatures
in class XMPPProcessor
session
- public void filter(Packet _packet, XMPPResourceConnection sessionFromSM, NonAuthUserRepository repo, Queue<Packet> results)
filter
in interface XMPPPacketFilterIfc
_packet
- sessionFromSM
- repo
- results
- public boolean filter(XMPPResourceConnection session, Packet res, Map<tigase.xmpp.JID,Packet> queue)
session
- res
- queue
- protected boolean isQueueEnabled(XMPPResourceConnection session)
session
- Copyright © 2013 Tigase. All rights reserved.