Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Transport

Group:  Transport


rwsf::Transportrwsf::MessageHandler

Local Index

Members

Header File

#include <rw/rwsf/soapworx/transport/Transport.h>

Description

rwsf::Transport is the handle class for all transport implementations (body classes which derive from rwsf::TransportImp). A transport is a message handler, so this class derives from rwsf::MessageHandler. Generated proxy classes hold a transport handle which is either directly passed in or inferred from a URL. Generated clients have 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 Chapter 11, "Dynamic Transports," in the HydraExpress Web Service Development Guide

rwsf::Transport implements the handle/body idiom in which rwsf::Transport is the handle, and rwsf::TransportImp is the body. An instance of this class is a handle to a private, reference-counted body. When a handle is copy-constructed, the new handle attaches to the same body as the original. When one handle is assigned to another handle, the handle on the left side detaches from its current body and attaches to the body pointed to by the handle on the right side. Logical operators return truth values based on whether the handles being compared point to the same body instance.


NOTE -- Handle methods that just call the corresponding method on the body are described only in the body class. For instance, if the handle class includes a method invoke() that calls the body's corresponding method doInvoke(), that method is documented only in the body class.

Public Constructors

Transport();

Destructor

virtual 
~Transport();

Public Member Operators

Transport& 
operator=(const Transport& trans);

Enumerations

enum statusCode {
      success = 1,
      failure = 2
    };

Public Member Functions

void 
init(const rwsf::Config& initParams);
Transport
clone() const;
void 
connect();
void 
disconnect();
rwsf::CString
getProperty(const rwsf::CString& key) const;
bool 
isConnected() const;
setProperty(const rwsf::CString& key, 
const rwsf::CString& value);

Protected Member Functions

TransportImp& 
body() const;

Related Classes

rwsf::TransportManager



Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, 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.