@Bean(name="pep",
parent=tigase.server.xmppsession.SessionManager.class,
active=true)
public class PepPlugin
extends tigase.xmpp.XMPPProcessor
implements tigase.xmpp.XMPPProcessorIfc, tigase.xmpp.XMPPStopListenerIfc
| Modifier and Type | Field and Description |
|---|---|
protected static tigase.xml.Element[] |
DISCO_FEATURES |
protected static String |
DISCO_INFO_XMLNS |
protected static String |
DISCO_ITEMS_XMLNS |
protected static String[][] |
ELEMENTS |
protected static String |
PUBSUB_XMLNS |
protected static String |
PUBSUB_XMLNS_OWNER |
protected tigase.xmpp.jid.JID |
pubsubJid |
protected Set<String> |
simpleNodes |
protected boolean |
simplePepEnabled |
protected static String[] |
XMLNSS |
| Constructor and Description |
|---|
PepPlugin() |
| Modifier and Type | Method and Description |
|---|---|
tigase.xmpp.Authorization |
canHandle(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection conn) |
int |
concurrentQueuesNo() |
protected tigase.xmpp.jid.JID |
getPubsubJid(tigase.xmpp.XMPPResourceConnection session,
tigase.xmpp.jid.JID serviceJid) |
String |
id() |
void |
process(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results,
Map<String,Object> settings) |
protected void |
processIq(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results) |
protected void |
processPresence(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results) |
void |
stopped(tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results,
Map<String,Object> settings) |
tigase.xml.Element[] |
supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session) |
String[][] |
supElementNamePaths() |
String[] |
supNamespaces() |
Set<tigase.xmpp.StanzaType> |
supTypes() |
compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, isSupporting, supElements, supStreamFeatures, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconcurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supElements, supStreamFeaturescompareToprotected static final String PUBSUB_XMLNS
protected static final String PUBSUB_XMLNS_OWNER
protected static final tigase.xml.Element[] DISCO_FEATURES
protected static final String DISCO_INFO_XMLNS
protected static final String DISCO_ITEMS_XMLNS
protected static final String[][] ELEMENTS
protected static final String[] XMLNSS
@ConfigField(desc="PubSub Component JID",
alias="pubsub-jid")
protected tigase.xmpp.jid.JID pubsubJid
@ConfigField(desc="Enable simple PEP",
alias="simple-pep-enabled")
protected boolean simplePepEnabled
public tigase.xmpp.Authorization canHandle(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection conn)
canHandle in interface tigase.xmpp.XMPPImplIfccanHandle in class tigase.xmpp.XMPPProcessorpublic String id()
id in interface tigase.xmpp.XMPPImplIfcpublic int concurrentQueuesNo()
concurrentQueuesNo in interface tigase.xmpp.XMPPImplIfcpublic void process(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results,
Map<String,Object> settings)
throws tigase.xmpp.XMPPException
process in interface tigase.xmpp.XMPPProcessorIfctigase.xmpp.XMPPExceptionpublic tigase.xml.Element[] supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
supDiscoFeatures in interface tigase.xmpp.XMPPImplIfcsupDiscoFeatures in class tigase.xmpp.XMPPProcessorpublic String[][] supElementNamePaths()
supElementNamePaths in interface tigase.xmpp.XMPPImplIfcsupElementNamePaths in class tigase.xmpp.XMPPProcessorpublic String[] supNamespaces()
supNamespaces in interface tigase.xmpp.XMPPImplIfcsupNamespaces in class tigase.xmpp.XMPPProcessorpublic Set<tigase.xmpp.StanzaType> supTypes()
supTypes in interface tigase.xmpp.XMPPImplIfcsupTypes in class tigase.xmpp.XMPPProcessorpublic void stopped(tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results,
Map<String,Object> settings)
stopped in interface tigase.xmpp.XMPPStopListenerIfcprotected tigase.xmpp.jid.JID getPubsubJid(tigase.xmpp.XMPPResourceConnection session,
tigase.xmpp.jid.JID serviceJid)
protected void processIq(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results)
throws tigase.xmpp.XMPPException
tigase.xmpp.XMPPExceptionprotected void processPresence(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results)
throws tigase.xmpp.NotAuthorizedException
tigase.xmpp.NotAuthorizedExceptionCopyright © 2008–2019 Tigase. All rights reserved.