Faspstream Manager C/C++ API  3.6.1
A C and C++ language interface to basic streaming over the fasp protocol
FaspOutputStreamToFile Class Reference

#include <FaspOutputStreamToFile.h>

Public Member Functions

FASPSTREAM_CPP_API FaspOutputStreamToFile ()
 
FASPSTREAM_CPP_API ~FaspOutputStreamToFile ()
 
FASPSTREAM_CPP_API std::vector< std::string > getCommandline () const
 
FASPSTREAM_CPP_API bool connect (long size)
 
FASPSTREAM_CPP_API std::string getUsername () const
 
FASPSTREAM_CPP_API void setUsername (const std::string &username)
 
FASPSTREAM_CPP_API std::string getPassword () const
 
FASPSTREAM_CPP_API void setPassword (const std::string &password)
 
FASPSTREAM_CPP_API int getMaxMemory () const
 
FASPSTREAM_CPP_API void setMaxMemory (int maxMem)
 
FASPSTREAM_CPP_API int getUdpPort () const
 
FASPSTREAM_CPP_API void setUdpPort (int udpPort)
 
FASPSTREAM_CPP_API int getTcpPort () const
 
FASPSTREAM_CPP_API void setTcpPort (int tcpPort)
 
FASPSTREAM_CPP_API int getDatagramSize () const
 
FASPSTREAM_CPP_API void setDatagramSize (int size)
 
FASPSTREAM_CPP_API int getChunkSize () const
 
FASPSTREAM_CPP_API void setChunkSize (int size)
 
FASPSTREAM_CPP_API std::string getHostname () const
 
FASPSTREAM_CPP_API void setHostname (const std::string &hostname)
 
FASPSTREAM_CPP_API int getTargetRate () const
 
FASPSTREAM_CPP_API void setTargetRate (int target)
 
FASPSTREAM_CPP_API FASPSTREAM_CIPHER_TYPE getCipherType () const
 
FASPSTREAM_CPP_API void setCipherType (FASPSTREAM_CIPHER_TYPE type)
 
FASPSTREAM_CPP_API bool isLockTarget () const
 
FASPSTREAM_CPP_API void setLockTarget (bool target)
 
FASPSTREAM_CPP_API int getMinRate () const
 
FASPSTREAM_CPP_API void setMinRate (int minimum)
 
FASPSTREAM_CPP_API bool isLockMinimum () const
 
FASPSTREAM_CPP_API void setLockMinimum (bool lockMin)
 
FASPSTREAM_CPP_API FASPSTREAM_POLICY_TYPE getPolicy () const
 
FASPSTREAM_CPP_API void setPolicy (FASPSTREAM_POLICY_TYPE newPolicy)
 
FASPSTREAM_CPP_API bool isLockPolicy () const
 
FASPSTREAM_CPP_API void setLockPolicy (bool lock)
 
FASPSTREAM_CPP_API int getAggressiveness () const
 
FASPSTREAM_CPP_API void setAggressiveness (int aggressive)
 
FASPSTREAM_CPP_API void write (const char *buffer, int length)
 
FASPSTREAM_CPP_API std::string close ()
 
FASPSTREAM_CPP_API void forceClose ()
 
FASPSTREAM_CPP_API std::string getAscpPath () const
 
FASPSTREAM_CPP_API void setAscpPath (const std::string &ascpPath)
 
FASPSTREAM_CPP_API std::string getDestinationFilename () const
 
FASPSTREAM_CPP_API void setDestinationFilename (const std::string &destinationFilename)
 
FASPSTREAM_CPP_API std::string getDestinationDirectory () const
 
FASPSTREAM_CPP_API void setDestinationDirectory (const std::string &destinationDirectory)
 
FASPSTREAM_CPP_API std::string getLogDirectory () const
 
FASPSTREAM_CPP_API void setLogDirectory (const std::string &logDirectory)
 
FASPSTREAM_CPP_API std::string getSshKeyFilePath () const
 
FASPSTREAM_CPP_API void setSshKeyFilePath (const std::string &sshKeyFilePath)
 
FASPSTREAM_CPP_API long getFileSize () const
 
FASPSTREAM_CPP_API void setFileSize (const long fileSize)
 
void handleError (int errorCode)
 
FASPSTREAM_CPP_API void setLicense (std::string commandToExecute)
 
FASPSTREAM_CPP_API std::string getLicense () const
 

Constructor & Destructor Documentation

FASPSTREAM_CPP_API FaspOutputStreamToFile::FaspOutputStreamToFile ( )
FASPSTREAM_CPP_API FaspOutputStreamToFile::~FaspOutputStreamToFile ( )

Member Function Documentation

FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::close ( )
FASPSTREAM_CPP_API bool FaspOutputStreamToFile::connect ( long  size)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::forceClose ( )
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getAggressiveness ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getAscpPath ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getChunkSize ( ) const
FASPSTREAM_CPP_API FASPSTREAM_CIPHER_TYPE FaspOutputStreamToFile::getCipherType ( ) const
FASPSTREAM_CPP_API std::vector<std::string> FaspOutputStreamToFile::getCommandline ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getDatagramSize ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getDestinationDirectory ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getDestinationFilename ( ) const
FASPSTREAM_CPP_API long FaspOutputStreamToFile::getFileSize ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getHostname ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getLicense ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getLogDirectory ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getMaxMemory ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getMinRate ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getPassword ( ) const
FASPSTREAM_CPP_API FASPSTREAM_POLICY_TYPE FaspOutputStreamToFile::getPolicy ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getSshKeyFilePath ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getTargetRate ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getTcpPort ( ) const
FASPSTREAM_CPP_API int FaspOutputStreamToFile::getUdpPort ( ) const
FASPSTREAM_CPP_API std::string FaspOutputStreamToFile::getUsername ( ) const
void FaspOutputStreamToFile::handleError ( int  errorCode)
FASPSTREAM_CPP_API bool FaspOutputStreamToFile::isLockMinimum ( ) const
FASPSTREAM_CPP_API bool FaspOutputStreamToFile::isLockPolicy ( ) const
FASPSTREAM_CPP_API bool FaspOutputStreamToFile::isLockTarget ( ) const
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setAggressiveness ( int  aggressive)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setAscpPath ( const std::string &  ascpPath)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setChunkSize ( int  size)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setCipherType ( FASPSTREAM_CIPHER_TYPE  type)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setDatagramSize ( int  size)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setDestinationDirectory ( const std::string &  destinationDirectory)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setDestinationFilename ( const std::string &  destinationFilename)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setFileSize ( const long  fileSize)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setHostname ( const std::string &  hostname)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setLicense ( std::string  commandToExecute)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setLockMinimum ( bool  lockMin)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setLockPolicy ( bool  lock)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setLockTarget ( bool  target)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setLogDirectory ( const std::string &  logDirectory)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setMaxMemory ( int  maxMem)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setMinRate ( int  minimum)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setPassword ( const std::string &  password)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setPolicy ( FASPSTREAM_POLICY_TYPE  newPolicy)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setSshKeyFilePath ( const std::string &  sshKeyFilePath)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setTargetRate ( int  target)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setTcpPort ( int  tcpPort)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setUdpPort ( int  udpPort)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::setUsername ( const std::string &  username)
FASPSTREAM_CPP_API void FaspOutputStreamToFile::write ( const char *  buffer,
int  length 
)

The documentation for this class was generated from the following file: