public abstract class AbstractPubSubModule
extends tigase.stats.StatisticHolderImpl
implements tigase.component.modules.Module
| Modifier and Type | Field and Description |
|---|---|
protected PubSubConfig |
config |
protected static Logger |
log |
protected Logic |
logic |
protected tigase.component.PacketWriter |
packetWriter |
| Constructor and Description |
|---|
AbstractPubSubModule() |
| Modifier and Type | Method and Description |
|---|---|
static tigase.xml.Element |
createResultIQ(tigase.xml.Element iq) |
static List<tigase.xml.Element> |
createResultIQArray(tigase.xml.Element iq) |
protected static String |
findBestJid(String[] allSubscribers,
String jid)
Deprecated.
|
static Collection<tigase.xmpp.jid.BareJID> |
getActiveSubscribers(AbstractNodeConfig nodeConfig,
tigase.xmpp.jid.BareJID[] jids,
IAffiliations affiliations,
ISubscriptions subscriptions) |
static Collection<tigase.xmpp.jid.BareJID> |
getActiveSubscribers(AbstractNodeConfig nodeConfig,
IAffiliations affiliations,
ISubscriptions subscriptions) |
protected IPubSubRepository |
getRepository() |
static List<tigase.xml.Element> |
makeArray(tigase.xml.Element... elements) |
static List<tigase.server.Packet> |
makeArray(tigase.server.Packet... packets) |
getStatistics, setStatisticsPrefix, statisticExecutedIneveryHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondgetLevel, getName, getValue, inc, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected static final Logger log
@Inject protected PubSubConfig config
@Inject protected Logic logic
@Inject protected tigase.component.PacketWriter packetWriter
public static tigase.xml.Element createResultIQ(tigase.xml.Element iq)
public static List<tigase.xml.Element> createResultIQArray(tigase.xml.Element iq)
@Deprecated protected static String findBestJid(String[] allSubscribers, String jid)
public static Collection<tigase.xmpp.jid.BareJID> getActiveSubscribers(AbstractNodeConfig nodeConfig, tigase.xmpp.jid.BareJID[] jids, IAffiliations affiliations, ISubscriptions subscriptions)
public static Collection<tigase.xmpp.jid.BareJID> getActiveSubscribers(AbstractNodeConfig nodeConfig, IAffiliations affiliations, ISubscriptions subscriptions) throws tigase.component.exceptions.RepositoryException
tigase.component.exceptions.RepositoryExceptionpublic static List<tigase.xml.Element> makeArray(tigase.xml.Element... elements)
public static List<tigase.server.Packet> makeArray(tigase.server.Packet... packets)
protected IPubSubRepository getRepository()
Copyright © 2008–2019 Tigase. All rights reserved.