tigase.xmpp.impl
public class MessageCarbons extends XMPPProcessor implements XMPPProcessorIfc, XMPPStopListenerIfc, XMPPPacketFilterIfc
ALL_NAMES, ALL_PATHSCLIENT_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, supTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypescompareTopublic String id()
id in interface XMPPImplIfcpublic void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process in interface XMPPProcessorIfcXMPPExceptionpublic tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - public String[][] supElementNamePaths()
supElementNamePaths in interface XMPPImplIfcsupElementNamePaths in class XMPPProcessorpublic String[] supNamespaces()
supNamespaces in interface XMPPImplIfcsupNamespaces in class XMPPProcessorpublic void stopped(XMPPResourceConnection session, Queue<Packet> results, Map<String,Object> settings)
stopped in interface XMPPStopListenerIfcsession - results - settings - public void filter(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results)
filter in interface XMPPPacketFilterIfcpacket - session - repo - results - Copyright © 2013 Tigase. All rights reserved.