Interface Socks5Repository<DS extends tigase.db.DataSource>

    • Method Detail

      • getTransferLimits

        Limits getTransferLimits()
                          throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferLimits

        Limits getTransferLimits​(String domain)
                          throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferLimits

        Limits getTransferLimits​(tigase.xmpp.jid.BareJID user_id)
                          throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferUsed

        long getTransferUsed()
                      throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferUsedByInstance

        long getTransferUsedByInstance​(String instance)
                                throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferUsedByDomain

        long getTransferUsedByDomain​(String domain)
                              throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • getTransferUsedByUser

        long getTransferUsedByUser​(tigase.xmpp.jid.BareJID user_id)
                            throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • createTransferUsedByConnection

        long createTransferUsedByConnection​(tigase.xmpp.jid.BareJID user_id,
                                            Socks5ConnectionType type,
                                            tigase.xmpp.jid.BareJID instance)
                                     throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException
      • updateTransferUsedByConnection

        void updateTransferUsedByConnection​(tigase.xmpp.jid.BareJID user_id,
                                            long stream_id,
                                            long transferred_bytes)
                                     throws tigase.db.TigaseDBException
        Throws:
        tigase.db.TigaseDBException