Interface Socks5Repository<DS extends tigase.db.DataSource>

All Superinterfaces:
tigase.db.DataSourceAware<DS>
All Known Implementing Classes:
DummySocks5Repository, JDBCSocks5Repository, Socks5RepositoryMDBean

public interface Socks5Repository<DS extends tigase.db.DataSource> extends tigase.db.DataSourceAware<DS>
Author:
andrzej
  • Method Details

    • 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