Interface Service<T extends Module>

  • All Known Subinterfaces:
    Service<T>
    All Known Implementing Classes:
    ServiceImpl

    public interface Service<T extends Module>
    • Method Detail

      • sendPacket

        void sendPacket​(tigase.server.Packet packet,
                        java.lang.Long timeout,
                        PacketWriter.Callback closure)
      • sendPacket

        void sendPacket​(tigase.server.Packet packet,
                        java.lang.Long timeout,
                        groovy.lang.Closure closure)
      • getUserRepository

        tigase.db.UserRepository getUserRepository()
      • getAuthRepository

        tigase.db.AuthRepository getAuthRepository()
      • isAdmin

        boolean isAdmin​(tigase.xmpp.jid.BareJID user)
      • isAllowed

        boolean isAllowed​(java.lang.String key,
                          java.lang.String domain,
                          java.lang.String path)
      • checkCredentials

        boolean checkCredentials​(java.lang.String user,
                                 java.lang.String password)
                          throws tigase.util.stringprep.TigaseStringprepException,
                                 tigase.db.TigaseDBException,
                                 tigase.db.AuthorizationException
        Throws:
        tigase.util.stringprep.TigaseStringprepException
        tigase.db.TigaseDBException
        tigase.db.AuthorizationException
      • getModule

        T getModule()