SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWSmtpDataReply Class Reference

Encapsulates an RWSocketPortal that writes the body of a mail message. More...

#include <rw/smtp/RWSmtpDataReply.h>

Inheritance diagram for RWSmtpDataReply:
RWSmtpReply RWNumReply RWReply

Public Member Functions

 RWSmtpDataReply (void)
 
 RWSmtpDataReply (const RWSmtpDataReply &reply)
 
RWSocketPortal getPortal (void) const
 
RWSmtpDataReplyoperator= (const RWSmtpDataReply &reply)
 
- Public Member Functions inherited from RWSmtpReply
 RWSmtpReply (void)
 
- 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
 

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

RWSmtpDataReply is a specialization class of RWSmtpReply. It contains an RWSocketPortal that writes the body of a mail message.

Constructor & Destructor Documentation

RWSmtpDataReply::RWSmtpDataReply ( void  )

Constructs a default invalid RWSmtpDataReply object. You need to use the assignment operator to initialize it.

RWSmtpDataReply::RWSmtpDataReply ( const RWSmtpDataReply reply)

Copy constructor.

Member Function Documentation

RWSocketPortal RWSmtpDataReply::getPortal ( void  ) const

Returns the underlying socket portal. This portal is used to transfer the body portion of the mail message.

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

Assignment operator. Sets self to the contents of reply. The previous contents of self are lost.

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