SourcePro® API Reference Guide

 
List of all members | Public Member Functions | Related Functions
RWFtpDataReply Class Reference

Specialization class of RWFtpReply containing an RWSocketPortal for data that is to be read from or written to the underlying socket. More...

#include <rw/ftp/RWFtpDataReply.h>

Inheritance diagram for RWFtpDataReply:
RWFtpReply RWNumReply RWReply

Public Member Functions

 RWFtpDataReply (void)
 
 RWFtpDataReply (const RWFtpDataReply &reply)
 
RWSocketPortal getPortal (void) const
 
RWFtpDataReplyoperator= (const RWFtpDataReply &reply)
 
- Public Member Functions inherited from RWFtpReply
 RWFtpReply (void)
 
 RWFtpReply (const RWFtpReply &reply)
 
RWFtpReplyoperator= (const RWFtpReply &reply)
 
- Public Member Functions inherited from RWNumReply
 RWNumReply (void)
 
 RWNumReply (const RWNumReply &r)
 
virtual ~RWNumReply (void)
 
void clearAndDestroy (void)
 
size_t entries (void) const
 
RWCString getData (void) const
 
unsigned int getStatusCode (void) const
 
bool is1XX (void) const
 
bool is2XX (void) const
 
bool is3XX (void) const
 
bool is4XX (void) const
 
bool is5XX (void) const
 
RWNumReplyoperator= (const RWNumReply &reply)
 
const RWNumReplyLineoperator[] (size_t i) const
 
- Public Member Functions inherited from RWReply
 RWReply (void)
 
virtual ~RWReply (void)
 
virtual bool isComplete (void) const
 
virtual bool isValid (void) const
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const RWFtpDataReply &r)
 

Additional Inherited Members

- Protected Member Functions inherited from RWNumReply
void append (RWNumReplyLine &r)
 
void copy (const RWNumReply &r)
 
virtual void parse (void)
 
void readFromPortal (const RWPortal &portal)
 
- Protected Attributes inherited from RWReply
bool complete_
 
bool valid_
 

Detailed Description

RWFtpDataReply is a specialization class of RWFtpReply. It contains an RWSocketPortal for data that is to be read from or written to the underlying socket.

Constructor & Destructor Documentation

RWFtpDataReply::RWFtpDataReply ( void  )

Default constructor.

RWFtpDataReply::RWFtpDataReply ( const RWFtpDataReply reply)

Copy constructor.

Member Function Documentation

RWSocketPortal RWFtpDataReply::getPortal ( void  ) const

Returns the RWSocketPortal to use for the data communication session.

RWFtpDataReply& RWFtpDataReply::operator= ( const RWFtpDataReply reply)

Assignment operator. Makes self a copy of reply. The previous contents of self are lost.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const RWFtpDataReply r 
)
friend

Outputs an RWFtpDataReply object to an std::ostream.

Note
Class RWFtpDataReply does not have an extraction (>>) operator.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.