HydraExpress™ C++ 2019 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Reference to all transport implementations. Used in generated proxies. More...
#include <rwsf/webservice/transport/Transport.h>
Public Types | |
enum | statusCode { success, failure } |
Public Member Functions | |
Transport () | |
Transport (TransportImp *imp) | |
Transport (const Transport &trans) | |
virtual | ~Transport () |
void | init (const rwsf::Config &initParams) |
Transport & | operator= (const Transport &trans) |
Public Member Functions inherited from rwsf::MessageHandler | |
MessageHandler () | |
MessageHandler (const MessageHandler &handler) | |
MessageHandler (MessageHandlerImp *impl) | |
~MessageHandler () | |
void | destroy () |
void | init (const rwsf::Config &initParams) |
void | invoke (rwsf::CallInfo &callInfo) |
MessageHandler & | operator= (const MessageHandler &obj) |
Public Member Functions inherited from rwsf::HandleBase | |
bool | isValid (void) const |
bool | operator!= (const HandleBase &second) const |
bool | operator== (const HandleBase &second) const |
Protected Member Functions | |
TransportImp & | body () const |
Protected Member Functions inherited from rwsf::HandleBase | |
HandleBase (void) | |
HandleBase (StaticCtor) | |
HandleBase (BodyBase *body) | |
HandleBase (const HandleBase &second) | |
virtual | ~HandleBase (void) |
BodyBase & | body (void) const |
HandleBase & | operator= (const HandleBase &second) |
rwsf::Transport is a reference to all transport implementations, i.e. transport objects that derive from rwsf::TransportImp. A transport is a message handler, so this class derives from rwsf::MessageHandler. Generated proxy classes hold a transport reference which is either directly passed in or inferred from a URL. Generated clients contain a member of this type.
The properties on a transport are configured using the two configuration files transports.xml
, and client-transports.xml
. For more information on these files, and customizing or creating transports, see the transports chapter in the Web Service Development Guide.
Enumeration containing values for statusCode property.
rwsf::Transport::Transport | ( | ) |
Default constructor. Constructs an empty transport handler.
rwsf::Transport::Transport | ( | TransportImp * | imp | ) |
Constructs a new handler bound to a new transport instance, and increments a reference count.
rwsf::Transport::Transport | ( | const Transport & | trans | ) |
Creates a new handle as a reference to trans.
|
virtual |
Destructor.
|
protected |
Returns the body attached to this handle; otherwise throws an rwsf::ExternalException.
void rwsf::Transport::init | ( | const rwsf::Config & | initParams | ) |
Sets the initialization parameters and initializes the transport.
Copyright © 2019 Rogue Wave Software, Inc. All Rights Reserved. |