@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, tigase.xmpp.impl.ServiceDiscovery.AccountServiceProvider
| 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 |
|---|---|
int |
concurrentQueuesNo() |
protected tigase.xmpp.jid.JID |
getPubsubJid(tigase.xmpp.XMPPResourceConnection session,
tigase.xmpp.jid.JID serviceJid) |
tigase.xmpp.jid.JID |
getServiceProviderComponentJid() |
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() |
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, isSupporting, supElements, supStreamFeatures, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentThreadsPerQueue, 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 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.XMPPStopListenerIfcpublic tigase.xmpp.jid.JID getServiceProviderComponentJid()
getServiceProviderComponentJid in interface tigase.xmpp.impl.ServiceDiscovery.AccountServiceProviderprotected 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.