Package tigase.http

Class ServiceImpl<T extends Module>

    • Constructor Detail

      • ServiceImpl

        public ServiceImpl​(String moduleUUID)
      • ServiceImpl

        public ServiceImpl​(T module)
    • Method Detail

      • sendPacket

        public void sendPacket​(tigase.server.Packet packet,
                               Long timeout,
                               groovy.lang.Closure closure)
        Specified by:
        sendPacket in interface Service<T extends Module>
      • isAdmin

        public boolean isAdmin​(tigase.xmpp.jid.BareJID user)
        Specified by:
        isAdmin in interface Service<T extends Module>
      • checkCredentials

        public boolean checkCredentials​(String user,
                                        String password)
                                 throws tigase.util.stringprep.TigaseStringprepException,
                                        tigase.db.TigaseDBException,
                                        tigase.db.AuthorizationException
        Specified by:
        checkCredentials in interface Service<T extends Module>
        Throws:
        tigase.util.stringprep.TigaseStringprepException
        tigase.db.TigaseDBException
        tigase.db.AuthorizationException