public class MessageCarbons extends XMPPProcessor implements XMPPProcessorIfc, XMPPPacketFilterIfc, XMPPPresenceUpdateProcessorIfc
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLNS |
ALL_NAMES, ALL_PATHS, cmpInfoCLIENT_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 |
presenceUpdate(XMPPResourceConnection session,
Packet packet,
Queue<Packet> results) |
void |
process(Packet packet,
XMPPResourceConnection session,
NonAuthUserRepository repo,
Queue<Packet> results,
Map<String,Object> settings)
Process packet received by SM for processing
|
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, getComponentInfo, getInstance, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypes, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supElements, supStreamFeatures, supTypescompareTopublic static final String XMLNS
public String id()
id in interface XMPPImplIfcString valuepublic void process(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings) throws XMPPException
process in interface XMPPProcessorIfcpacket - session - repo - results - settings - XMPPExceptionpublic tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
supDiscoFeatures in interface XMPPImplIfcsupDiscoFeatures in class XMPPProcessorsession - Element[] valuepublic 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 void presenceUpdate(XMPPResourceConnection session, Packet packet, Queue<Packet> results) throws NotAuthorizedException
presenceUpdate in interface XMPPPresenceUpdateProcessorIfcNotAuthorizedExceptionpublic void filter(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results)
filter in interface XMPPPacketFilterIfcpacket - session - repo - results - Copyright © 2014 "Tigase, Inc.". All rights reserved.