public class NodeConfigModule extends AbstractConfigCreateNode
| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeConfigModule.NodeConfigurationChangedHandler |
defaultNodeConfigconfig, log, logAbstract, packetWriter| Constructor and Description |
|---|
NodeConfigModule(PubSubConfig config,
PacketWriter packetWriter,
LeafNodeConfig defaultNodeConfig,
PublishItemModule publishItemModule)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeConfigurationChangedHandler(NodeConfigModule.NodeConfigurationChangedHandler handler)
Method description
|
protected static String[] |
diff(String[] a,
String[] b)
Method description
|
String[] |
getFeatures()
Method description
|
tigase.criteria.Criteria |
getModuleCriteria()
Method description
|
protected boolean |
isIn(String node,
String[] children)
Method description
|
static void |
parseConf(AbstractNodeConfig conf,
tigase.xml.Element configure,
PubSubConfig config)
Method description
|
void |
process(tigase.server.Packet packet)
Method description
|
void |
removeNodeConfigurationChangedHandler(NodeConfigModule.NodeConfigurationChangedHandler handler)
Method description
|
createResultIQ, createResultIQArray, findBestJid, getActiveSubscribers, getActiveSubscribers, getEventBus, getRepository, hasSenderSubscription, isSenderInRosterGroup, makeArray, makeArraygetStatistics, setStatisticsPrefix, statisticExecutedIneveryHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondgetLevel, getName, getValue, inc, setName, toStringpublic NodeConfigModule(PubSubConfig config, PacketWriter packetWriter, LeafNodeConfig defaultNodeConfig, PublishItemModule publishItemModule)
config - pubsubRepository - defaultNodeConfig - publishItemModule - protected static String[] diff(String[] a, String[] b)
a - b - public static void parseConf(AbstractNodeConfig conf, tigase.xml.Element configure, PubSubConfig config) throws PubSubException
conf - configure - PubSubExceptionpublic void addNodeConfigurationChangedHandler(NodeConfigModule.NodeConfigurationChangedHandler handler)
listener - public String[] getFeatures()
public tigase.criteria.Criteria getModuleCriteria()
protected boolean isIn(String node, String[] children)
node - children - public void process(tigase.server.Packet packet)
throws PubSubException
packet - PubSubExceptionpublic void removeNodeConfigurationChangedHandler(NodeConfigModule.NodeConfigurationChangedHandler handler)
listener - Copyright © 2008–2017 Tigase. All rights reserved.