org.apache.ftpserver.usermanager.impl
Class TransferRateRequest

java.lang.Object
  extended by org.apache.ftpserver.usermanager.impl.TransferRateRequest
All Implemented Interfaces:
AuthorizationRequest

public class TransferRateRequest
extends Object
implements AuthorizationRequest

Internal class, do not use directly. Request for getting the maximum allowed transfer rates for a user

Author:
Apache MINA Project

Constructor Summary
TransferRateRequest()
           
 
Method Summary
 int getMaxDownloadRate()
           
 int getMaxUploadRate()
           
 void setMaxDownloadRate(int maxDownloadRate)
           
 void setMaxUploadRate(int maxUploadRate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferRateRequest

public TransferRateRequest()
Method Detail

getMaxDownloadRate

public int getMaxDownloadRate()
Returns:
the maxDownloadRate

setMaxDownloadRate

public void setMaxDownloadRate(int maxDownloadRate)
Parameters:
maxDownloadRate - the maxDownloadRate to set

getMaxUploadRate

public int getMaxUploadRate()
Returns:
the maxUploadRate

setMaxUploadRate

public void setMaxUploadRate(int maxUploadRate)
Parameters:
maxUploadRate - the maxUploadRate to set


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.