Package tigase.socks5.verifiers
Class LimitsVerifier
- java.lang.Object
-
- tigase.socks5.verifiers.LimitsVerifier
-
- All Implemented Interfaces:
VerifierIfc
public class LimitsVerifier extends Object implements VerifierIfc
- Author:
- andrzej
-
-
Constructor Summary
Constructors Constructor Description LimitsVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAllowed(Stream stream)voidupdateTransfer(Socks5IOService service, boolean force)
-
-
-
Method Detail
-
isAllowed
public boolean isAllowed(Stream stream) throws tigase.db.TigaseDBException
- Specified by:
isAllowedin interfaceVerifierIfc- Throws:
tigase.db.TigaseDBException
-
updateTransfer
public void updateTransfer(Socks5IOService service, boolean force) throws tigase.db.TigaseDBException, QuotaException
- Specified by:
updateTransferin interfaceVerifierIfc- Throws:
tigase.db.TigaseDBExceptionQuotaException
-
-