#include <it_bus/reference.h>
Inheritance diagram for IT_Bus::ReferencePort:
The Reference class holds a ReferencePort for each port in a Service.
Application code typically should not need to access the ReferencePort API unless you need to query the contents of the Reference before using it or are trying to build a Reference by hand.
The ReferencePort holds information similar to the WSDL Port like the binding QName, the port name and extension elements representing endpoint information like addressing or other extensions relevant to the client contract.
Definition at line 62 of file reference.h.
Public Types | |
typedef IT_ReferencePortReflection | IT_ReflectionType |
Public Member Functions | |
ReferencePort () | |
Constructor. | |
ReferencePort (const ReferencePort ©) | |
Copy Constructor. | |
virtual | ~ReferencePort () |
Destructor. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
const IT_Bus::AnyList & | get_any () const |
Returns a list of all the Extension elements from the ReferencePort. | |
void | set_any (const IT_Vector< IT_Bus::Any > &val) |
When populating a ReferencePort a user can set all the Extension elements for the endpoint in the ReferencePort. | |
IT_Bus::NCName & | get_name () |
Returns the name of the Port. | |
const IT_Bus::NCName & | get_name () const |
Returns the name of the Port. | |
void | set_name (const IT_Bus::NCName &val) |
Allows user to set the name of the Port. | |
IT_Bus::QName & | get_binding () |
Returns the QName of the binding used by this endpoint/port. | |
const IT_Bus::QName & | get_binding () const |
Returns the QName of the binding used by this endpoint/port. | |
void | set_binding (const IT_Bus::QName &val) |
Allows users to populate a ReferencePort and set the value for the QName of the binding used by the endpoint/port. | |
Private Attributes | |
IT_Bus::AnyList * | m_any |
IT_Bus::NCName | m_name |
IT_Bus::QName | m_binding |
Friends | |
class | IT_ReferencePortReflection |
const IT_Bus::AnyList& IT_Bus::ReferencePort::get_any | ( | ) | const |
Returns a list of all the Extension elements from the ReferencePort.
These elements are presented by Anys.
const IT_Bus::QName& IT_Bus::ReferencePort::get_binding | ( | ) | const |
IT_Bus::QName& IT_Bus::ReferencePort::get_binding | ( | ) |
const IT_Bus::NCName& IT_Bus::ReferencePort::get_name | ( | ) | const |
Returns the name of the Port.
This typically corresponds to the WSDL Port name.
IT_Bus::NCName& IT_Bus::ReferencePort::get_name | ( | ) |
Returns the name of the Port.
This typically corresponds to the WSDL Port name.
virtual const IT_Bus::QName& IT_Bus::ReferencePort::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Implements IT_Bus::AnyType.
void IT_Bus::ReferencePort::set_any | ( | const IT_Vector< IT_Bus::Any > & | val | ) |
When populating a ReferencePort a user can set all the Extension elements for the endpoint in the ReferencePort.
These elements are presented by Anys.
const | IT_Vector<IT_Bus::Any> & val |
void IT_Bus::ReferencePort::set_binding | ( | const IT_Bus::QName & | val | ) |
Allows users to populate a ReferencePort and set the value for the QName of the binding used by the endpoint/port.
const | IT_Bus::QName & val |
void IT_Bus::ReferencePort::set_name | ( | const IT_Bus::NCName & | val | ) |
Allows user to set the name of the Port.
This typically corresponds to the WSDL Port name.
const | IT_Bus::NCName & |