org.apache.ftpserver.usermanager
Class TransferRateRequest

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

public class TransferRateRequest
extends java.lang.Object
implements AuthorizationRequest

Request for getting the maximum allowed transfer rates for a user


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-2008 The Apache Software Foundation. All Rights Reserved.