Abstract base class for all protocol replies.
More...
#include <rw/internet/RWReply.h>
RWReply is the abstract base class for all protocol replies. It provides some common methods that all replies share.
◆ RWReply()
RWReply::RWReply |
( |
void | | ) |
|
Constructs a default RWReply as part of a specific and concrete reply object.
◆ ~RWReply()
virtual RWReply::~RWReply |
( |
void | | ) |
|
|
virtual |
◆ clearAndDestroy()
virtual void RWReply::clearAndDestroy |
( |
void | | ) |
|
|
virtual |
Resets the object to the same state as after the default construction.
Reimplemented in RWNumReply.
◆ isComplete()
virtual bool RWReply::isComplete |
( |
void | | ) |
const |
|
virtual |
Returns true
if self represents a complete protocol reply.
◆ isValid()
virtual bool RWReply::isValid |
( |
void | | ) |
const |
|
virtual |
Returns true
if self is a valid reply.
◆ readFromPortal()
virtual void RWReply::readFromPortal |
( |
const RWPortal & | portal | ) |
|
|
protectedpure virtual |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const RWReply & | r ) |
|
friend |
Outputs RWReply to an std::ostream
as part of a specific and concrete reply object.
◆ complete_
Contains true
if self is a complete protocol reply.
◆ valid_
Contains true
if self is a valid protocol reply.