Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/reply.h>
thr, net, int, tls (and possibly std)
RWIReply is the abstract base class for all protocol replies. It provides some common methods that all replies share.
RWIReply();
Constructs a default RWIReply as part of a specific and concrete reply object.
virtual void clearAndDestroy();
Resets the object to the same state as after the default construction.
virtual RWBoolean isComplete() const;
Returns TRUE if self represents a complete protocol reply.
virtual RWBoolean isValid() const;
Returns TRUE if self is a valid reply.
RWBoolean complete_;
Contains TRUE if self is a complete protocol reply.
RWBoolean valid_;
Contains TRUE if self is a valid protocol reply.
virtual void readFromPortal(const RWSocketPortal& portal) = 0;
Reads data from the portal to construct self. It must be overridden by a derived class.
ostream& operator<<(ostream& strm, const RWIReply& r);
Outputs RWIReply to an ostream, as part of a specific and concrete reply object.
Note: This class does not have an extraction (>>) operator.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.