Class AbstractPushRepository<DS extends tigase.db.DataSource>

    • Constructor Detail

      • AbstractPushRepository

        public AbstractPushRepository()
    • Method Detail

      • getNodeSettings

        public Stream<IPushSettings> getNodeSettings​(tigase.xmpp.jid.BareJID userJid,
                                                     String provider,
                                                     String deviceId)
                                              throws tigase.component.exceptions.RepositoryException
        Specified by:
        getNodeSettings in interface IPushRepository<DS extends tigase.db.DataSource>
        Throws:
        tigase.component.exceptions.RepositoryException
      • calculateNode

        protected String calculateNode​(tigase.xmpp.jid.BareJID serviceJid,
                                       tigase.xmpp.jid.BareJID userJid)
                                throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • calculateNode

        protected String calculateNode​(tigase.xmpp.jid.BareJID serviceJid,
                                       tigase.xmpp.jid.BareJID userJid,
                                       String deviceId)
                                throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • toHex

        protected String toHex​(byte[] data,
                               String prefix)