SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
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 (const RWSmtpDataReply &reply)
 
 RWSmtpDataReply (void)
 
RWSocketPortal getPortal (void) const
 
RWSmtpDataReplyoperator= (const RWSmtpDataReply &reply)
 
- Public Member Functions inherited from RWSmtpReply
 RWSmtpReply (void)
 
- Public Member Functions inherited from RWNumReply
 RWNumReply (const RWNumReply &r)
 
 RWNumReply (void)
 
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() [1/2]

RWSmtpDataReply::RWSmtpDataReply ( void )

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

◆ RWSmtpDataReply() [2/2]

RWSmtpDataReply::RWSmtpDataReply ( const RWSmtpDataReply & reply)

Copy constructor.

Member Function Documentation

◆ getPortal()

RWSocketPortal RWSmtpDataReply::getPortal ( void ) const

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

◆ operator=()

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

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

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