Module: Internet Protocols Module Package: Internet Basics
Does not inherit
#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();
Constructs a default RWReply as part of a specific and concrete reply object.
virtual ~RWReply(void);
Virtual destructor.
virtual void clearAndDestroy();
Resets the object to the same state as after the default construction.
virtual bool isComplete() const;
Returns true if self represents a complete protocol reply.
virtual bool isValid() const;
Returns true if self is a valid reply.
bool complete_;
Contains true if self is a complete protocol reply.
bool valid_;
Contains true if self is a valid protocol reply.
virtual void readFromPortal(const RWPortal& portal) = 0;
Reads data from portal to construct self. It must be overridden by derived classes.
ostream& operator<<(ostream& strm, const RWReply& r);
Outputs RWReply to an ostream as part of a specific and concrete reply object.
NOTE -- This class does not have an extraction (>>) operator.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.