public class MobileV1 extends XMPPProcessor implements XMPPProcessorIfc, XMPPPacketFilterIfc
ALL_NAMES, ALL_PATHS, cmpInfoCLIENT_XMLNS| Constructor and Description |
|---|
MobileV1() |
| 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,
Queue<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
|
protected boolean |
isTimedOut(XMPPResourceConnection session)
Check timeout for queue
|
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
|
protected void |
updateLastAccessTime(XMPPResourceConnection session)
Update last send time
|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypescompareTopublic String id()
id in interface XMPPImplIfcString valuepublic void init(Map<String,Object> settings) throws TigaseDBException
init in interface XMPPImplIfcinit in class XMPPProcessorsettings - TigaseDBExceptionpublic void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
process in interface XMPPProcessorIfcpacket - session - repo - results - settings - public 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[] valuepublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsupStreamFeatures in class XMPPProcessorsession - Element[] valuepublic 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, Queue<Packet> queue)
session - res - queue - protected boolean isQueueEnabled(XMPPResourceConnection session)
session - protected boolean isTimedOut(XMPPResourceConnection session)
session - protected void updateLastAccessTime(XMPPResourceConnection session)
session - Copyright © 2014 "Tigase, Inc.". All rights reserved.