#include <it_bus/reference.h>
Inheritance diagram for IT_Bus::Reference:
Application code typically receives a Reference as part of a message exchange or else resolve ones from a Bus or a Service. A Reference contains all the information necessary in order to create a client proxy to the target Service.
A Reference represents a full Service so it may contain multiple ReferencePorts where each ReferencePort represent a WSDL Endpoint/Port.
Definition at line 297 of file reference.h.
Public Types | |
typedef IT_ReferenceReflection | IT_ReflectionType |
Public Member Functions | |
Reference () | |
Constructor. | |
Reference (const Reference ©) | |
Copy constructor. | |
virtual | ~Reference () |
Destructor. | |
IT_Bus::AnyType & | copy (const IT_Bus::AnyType &rhs) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual void | write_contents (IT_Bus::ComplexTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
Write the member values of the instance. | |
virtual void | read_contents (IT_Bus::ComplexTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
Read the member values into the instance. | |
IT_Bus::ElementListT< IT_Bus::ReferencePort > & | get_port () |
Returns an list of all ReferencePorts represented by the Service. | |
const IT_Bus::ElementListT< IT_Bus::ReferencePort > & | get_port () const |
Returns an list of all ReferencePorts represented by the Service. | |
void | set_port (const IT_Vector< IT_Bus::ReferencePort > &val) |
Allows a user to populate a Reference with the endpoint information by setting the ReferencePorts representing the Service. | |
IT_Bus::QName & | get_service () |
Returns the QName of the Service represented by the the Reference. | |
const IT_Bus::QName & | get_service () const |
Returns the QName of the Service represented by the the Reference. | |
void | set_service (const IT_Bus::QName &val) |
Allows a user to set the QName of the Service representing the Reference. | |
IT_Bus::String & | get_wsdl_location () |
Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference. | |
const IT_Bus::String & | get_wsdl_location () const |
Returns a String which gives the user the location of WSDL that contains the Service meta-data for this Reference. | |
void | set_wsdl_location (const IT_Bus::String &val) |
Allows the usert to set the String which specifies the location of WSDL for the Service meta-data for this Reference. | |
virtual IT_Reflect::Reflection * | get_reflection () throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
virtual const IT_Reflect::Reflection * | get_reflection () const throw ((IT_Reflect::ReflectException)) |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
Private Attributes | |
IT_Bus::ElementListT< IT_Bus::ReferencePort > | m_port |
IT_Bus::QName | m_service_name |
IT_Bus::String | m_wsdl_location |
WSDL_Schema::tService * | m_service |
WS_Addressing::EndpointReferenceType | m_endpoint_reference |
bool | m_populate_epr_from_reference |
Friends | |
class | IT_ReferenceReflection |
class | WS_Addressing::EndpointReferenceUtil |
IT_Bus::AnyType& IT_Bus::Reference::copy | ( | const IT_Bus::AnyType & | rhs | ) | [virtual] |
Returns a reference to an AnyType that is a copy of the AnyType parameter.
Derived classes override this method, providing an appropriate implementation. In this base class, this method is not supported; an exception is always thrown.
AnyType | to be copied. |
IT_Bus::Exception | with message "Copy not supported" |
Reimplemented from IT_Bus::AnyType.
virtual const IT_Bus::QName& IT_Bus::Reference::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.
virtual void IT_Bus::Reference::write_contents | ( | IT_Bus::ComplexTypeWriter & | writer | ) | const throw ((IT_Bus::SerializationException)) [virtual] |
Write the member values of the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
virtual void IT_Bus::Reference::read_contents | ( | IT_Bus::ComplexTypeReader & | reader | ) | throw ((IT_Bus::DeserializationException)) [virtual] |
Read the member values into the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
IT_Bus::ElementListT<IT_Bus::ReferencePort>& IT_Bus::Reference::get_port | ( | ) |
Returns an list of all ReferencePorts represented by the Service.
const IT_Bus::ElementListT<IT_Bus::ReferencePort>& IT_Bus::Reference::get_port | ( | ) | const |
Returns an list of all ReferencePorts represented by the Service.
void IT_Bus::Reference::set_port | ( | const IT_Vector< IT_Bus::ReferencePort > & | val | ) |
Allows a user to populate a Reference with the endpoint information by setting the ReferencePorts representing the Service.
const | IT_Vector<IT_Bus::ReferencePort> & val |
IT_Bus::QName& IT_Bus::Reference::get_service | ( | ) |
const IT_Bus::QName& IT_Bus::Reference::get_service | ( | ) | const |
void IT_Bus::Reference::set_service | ( | const IT_Bus::QName & | val | ) |
IT_Bus::String& IT_Bus::Reference::get_wsdl_location | ( | ) |
const IT_Bus::String& IT_Bus::Reference::get_wsdl_location | ( | ) | const |
void IT_Bus::Reference::set_wsdl_location | ( | const IT_Bus::String & | val | ) |
virtual IT_Reflect::Reflection* IT_Bus::Reference::get_reflection | ( | ) | throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.
virtual const IT_Reflect::Reflection* IT_Bus::Reference::get_reflection | ( | ) | const throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.