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 |
( |
void |
| ) |
|
Constructs a default RWReply as part of a specific and concrete reply object.
virtual RWReply::~RWReply |
( |
void |
| ) |
|
|
virtual |
virtual void RWReply::clearAndDestroy |
( |
void |
| ) |
|
|
virtual |
Resets the object to the same state as after the default construction.
Reimplemented in RWNumReply.
virtual bool RWReply::isComplete |
( |
void |
| ) |
const |
|
virtual |
Returns true
if self represents a complete protocol reply.
virtual bool RWReply::isValid |
( |
void |
| ) |
const |
|
virtual |
Returns true
if self is a valid reply.
virtual void RWReply::readFromPortal |
( |
const RWPortal & |
portal | ) |
|
|
protectedpure virtual |
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.
Contains true
if self is a complete protocol reply.
Contains true
if self is a valid protocol reply.