FTPSettings Class Reference

Stores the special FTPServer settings. This is used to create a settings file for the FTPServer. More...

#include <settings.h>

List of all members.

Public Member Functions

bool GetPassive ()
 Return if the connection is passive. Returns the value for the setting 'passive' or true if it isn't found.
status_t SetPassive (bool bPassive)
 Set the value for passive.
int GetMaxConnections ()
 Return the maximum number of connections. This returns the maximum number of allowable connections or 2 by default.
status_t SetMaxConnections (int nMax)
 Set the maximum number of connections.
bool GetSaveHistory ()
 Return the value of the save_history option. Returns the value of the save_history option or true if it doesn't exist.
status_t SetSaveHistory (bool bSave)
 Set the value for the save_history option.


Detailed Description

Stores the special FTPServer settings. This is used to create a settings file for the FTPServer.

Todo:
FTPSettings class should be renamed to TransferrerSettings because it is not FTP protocol-specific.


Member Function Documentation

status_t FTPSettings::SetPassive ( bool  bPassive  )  [inline]

Set the value for passive.

Parameters:
bPassive Whether or not this is a passive connection.

status_t FTPSettings::SetMaxConnections ( int  nMax  )  [inline]

Set the maximum number of connections.

Parameters:
nMax The maximum number of connections to allow at one time.

status_t FTPSettings::SetSaveHistory ( bool  bSave  )  [inline]

Set the value for the save_history option.

Parameters:
bSave Value to set the save_history option to.


The documentation for this class was generated from the following file:
Generated on Sun Oct 26 21:16:43 2008 for Transferrer by  doxygen 1.5.1