|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.xmpp.XMPPProcessor
tigase.xmpp.impl.MobileV2
public class MobileV2
Class responsible for queuing packets (usable in connections from mobile clients - power usage optimization) version 2
| Field Summary |
|---|
| Fields inherited from class tigase.xmpp.XMPPProcessor |
|---|
ALL_NAMES, ALL_PATHS |
| Fields inherited from interface tigase.xmpp.XMPPImplIfc |
|---|
CLIENT_XMLNS |
| Constructor Summary | |
|---|---|
MobileV2()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class tigase.xmpp.XMPPProcessor |
|---|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.xmpp.XMPPImplIfc |
|---|
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, isSupporting, supDiscoFeatures, supElements, supTypes |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public MobileV2()
| Method Detail |
|---|
public String id()
id in interface XMPPImplIfc
public void init(Map<String,Object> settings)
throws TigaseDBException
init in interface XMPPImplIfcinit in class XMPPProcessorsettings -
TigaseDBException
public 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 XMPPProcessorpublic String[] supNamespaces()
supNamespaces in interface XMPPImplIfcsupNamespaces in class XMPPProcessorpublic tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
supStreamFeatures in interface XMPPImplIfcsupStreamFeatures in class XMPPProcessorsession -
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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||