Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::FTPResponse Class Reference
[Networking library]

FTP response. More...

#include <pftpclient.h>

List of all members.

Public Member Functions

 FTPResponse (unsigned int code, std::list< std::string > &text)
 ~FTPResponse ()
unsigned int code () const
 Returns the response code.

bool isPositivePreliminary () const
bool isPositiveCompletion () const
bool isPositiveIntermediate () const
bool isNegativeTransient () const
bool isNegativePermanent () const
const std::list< std::string > & text () const

Friends

PNET_EXPORT std::ostream & operator<< (std::ostream &os, const FTPResponse &resp)


Detailed Description

FTP response.

Definition at line 60 of file pftpclient.h.


Constructor & Destructor Documentation

P::FTPResponse::FTPResponse unsigned int  code,
std::list< std::string > &  text
 

P::FTPResponse::~FTPResponse  ) 
 


Member Function Documentation

unsigned int P::FTPResponse::code  )  const [inline]
 

Returns the response code.

Definition at line 66 of file pftpclient.h.

bool P::FTPResponse::isNegativePermanent  )  const [inline]
 

Definition at line 81 of file pftpclient.h.

bool P::FTPResponse::isNegativeTransient  )  const [inline]
 

Definition at line 78 of file pftpclient.h.

bool P::FTPResponse::isPositiveCompletion  )  const [inline]
 

Definition at line 72 of file pftpclient.h.

bool P::FTPResponse::isPositiveIntermediate  )  const [inline]
 

Definition at line 75 of file pftpclient.h.

bool P::FTPResponse::isPositivePreliminary  )  const [inline]
 

Definition at line 69 of file pftpclient.h.

const std::list<std::string>& P::FTPResponse::text  )  const [inline]
 

Definition at line 84 of file pftpclient.h.


Friends And Related Function Documentation

PNET_EXPORT std::ostream& operator<< std::ostream &  os,
const FTPResponse resp
[friend]
 


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:33 2004 for P::Classes by doxygen 1.3.3