Module: Internet Protocols Module Package: Internet Basics
Does not inherit
#include <rw/internet/RWAgent.h>
RWAgent is the base class from which all specific protocol agents are built. Both of the constructors included in the RWAgent class are protected, so an RWAgent object can be constructed only by its specific protocol agents.
RWAgent and its derived protocol-agent classes are lightweight handles. They are implemented using the interface-implementation idiom.
RWAgent();
Constructs a default invalid RWAgent.
RWAgent(RWAgentImp* impl);
Constructs an RWAgent with a specific implementation.
RWNetHandle<RWAgentImp> impl_;
Contains the underlying implementation pointer that performs protocol actions.
© 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.