Package tigase.pubsub

Class AbstractPubSubModule

    • Field Detail

      • log

        protected static final Logger log
      • logic

        @Inject
        protected Logic logic
      • packetWriter

        @Inject
        protected tigase.component.PacketWriter packetWriter
    • Constructor Detail

      • AbstractPubSubModule

        public AbstractPubSubModule()
    • Method Detail

      • createResultIQ

        public static tigase.xml.Element createResultIQ​(tigase.xml.Element iq)
      • createResultIQArray

        public static List<tigase.xml.Element> createResultIQArray​(tigase.xml.Element iq)
      • getActiveSubscribers

        public static Collection<tigase.xmpp.jid.BareJID> getActiveSubscribers​(AbstractNodeConfig nodeConfig,
                                                                               IAffiliations affiliations,
                                                                               ISubscriptions subscriptions)
                                                                        throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • makeArray

        public static List<tigase.xml.Element> makeArray​(tigase.xml.Element... elements)
      • makeArray

        public static List<tigase.server.Packet> makeArray​(tigase.server.Packet... packets)