tigase.xmpp.impl
public class MessageCarbons extends XMPPProcessor implements XMPPProcessorIfc, XMPPStopListenerIfc, XMPPPacketFilterIfc
ALL_NAMES, ALL_PATHS
CLIENT_XMLNS
Constructor and Description |
---|
MessageCarbons() |
Modifier and Type | Method and Description |
---|---|
void |
filter(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results)
Method processes outgoing packets from SessionManager
|
String |
id()
Returns plugins unique identifier
|
void |
process(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings) |
void |
stopped(XMPPResourceConnection session,
Queue<Packet> results,
Map<String,Object> settings)
If session is stopped then disable carbon copy for this session
|
tigase.xml.Element[] |
supDiscoFeatures(XMPPResourceConnection session)
Return array of element containing supported disco features
|
String[][] |
supElementNamePaths()
Returns array of split path of supported elements
|
String[] |
supNamespaces()
Returns array of supported namespaces
|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes
compareTo
public String id()
id
in interface XMPPImplIfc
public void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process
in interface XMPPProcessorIfc
XMPPException
public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures
in interface XMPPImplIfc
supDiscoFeatures
in class XMPPProcessor
session
- public String[][] supElementNamePaths()
supElementNamePaths
in interface XMPPImplIfc
supElementNamePaths
in class XMPPProcessor
public String[] supNamespaces()
supNamespaces
in interface XMPPImplIfc
supNamespaces
in class XMPPProcessor
public void stopped(XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings)
stopped
in interface XMPPStopListenerIfc
session
- results
- settings
- public void filter(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results)
filter
in interface XMPPPacketFilterIfc
packet
- session
- repo
- results
- Copyright © 2013 Tigase. All rights reserved.