#include <it_bus_config/tunnel_wsdl_address.h>
Inheritance diagram for IT_Bus::TunnelWSDLAddress:
Definition at line 19 of file tunnel_wsdl_address.h.
Public Member Functions | |
virtual const IT_Bus::String & | get_location () const |
Get the value of the location attribute. | |
virtual void | set_location (const IT_Bus::String &location) |
Set the value of the location attribute. | |
virtual void | read (const IT_Bus::QName &element_name, ComplexTypeReader &reader) throw ((IT_Bus::DeserializationException)) |
Read the value into the instance. | |
virtual void | write (const IT_Bus::QName &element_name, IT_Bus::ComplexTypeWriter &writer) const throw ((IT_Bus::SerializationException)) |
Write the content of the instance. | |
virtual void | write (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException)) |
Write the contents of the node. | |
virtual void | write_attributes (IT_Bus::XMLOutputStream &stream) const throw ((IT_Bus::IOException)) |
Writes the attributes for the XMLNode into the stream specified. | |
IT_WSDL::WSDLExtensionElement * | clone () const |
Return a pointer to a new instance with its location attribute initialized to the same value as this instance. | |
virtual void | read_contents (IT_Bus::ComplexTypeReader &os) throw ((IT_Bus::DeserializationException)) |
Read the member values into the instance. | |
virtual void | write_contents (IT_Bus::ComplexTypeWriter &os) const throw ((IT_Bus::SerializationException)) |
Write the member values of the instance. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual IT_Bus::AnyType & | copy (const IT_Bus::AnyType &rhs) |
Return a reference to this instance. | |
Static Public Attributes | |
static const String | ELEMENT_NAME |
static const String | TYPE_ATTRIBUTE_NAME |
static const IT_Bus::QName | TYPE_NAME |
Private Attributes | |
String | m_location |
String | m_target_namespace |
virtual const IT_Bus::String& IT_Bus::TunnelWSDLAddress::get_location | ( | ) | const [virtual] |
Get the value of the location attribute.
Implements IT_Bus::EndpointAddress.
virtual void IT_Bus::TunnelWSDLAddress::set_location | ( | const IT_Bus::String & | location | ) | [virtual] |
Set the value of the location attribute.
String | containing the value of the location attribute. |
Reimplemented from IT_Bus::EndpointAddress.
virtual void IT_Bus::TunnelWSDLAddress::write | ( | IT_Bus::XMLOutputStream & | stream | ) | const throw ((IT_Bus::IOException)) [virtual] |
Write the contents of the node.
This method is typically invoked on an instance of the IT_WSDL::WSDLDefinitions class to write a copy of the in-memory representation of the WSDL model to a file that will be accessible to other applications. For example,
// The WSDL model may be obtained from the Service IT_WSDL::WSDLDefinitions &definitions = service.get_definitions();
// Now initialize an XMLOutputStream and invoke the write() // method on the WSDLDefinitions object. IT_Bus::FileOutputStream stream("<path to, and name of, the output file>"); IT_Bus::XMLOutputStream xml_stream(stream, true); definitions.write(xml_stream); stream.close();
IT_Bus::XMLOutputStream | to which to write the node contents. |
Reimplemented from IT_WSDL::WSDLExtensionElement.
virtual void IT_Bus::TunnelWSDLAddress::write_attributes | ( | IT_Bus::XMLOutputStream & | stream | ) | const throw ((IT_Bus::IOException)) [virtual] |
Writes the attributes for the XMLNode into the stream specified.
XMLOutputStream& | The underlying stream to encode into. XMLNode tree (only supported by XMLStreamNode). |
Reimplemented from IT_Bus::XMLNode.
IT_WSDL::WSDLExtensionElement* IT_Bus::TunnelWSDLAddress::clone | ( | ) | const [virtual] |
Return a pointer to a new instance with its location attribute initialized to the same value as this instance.
For example, if the location of this TunnelWSDLAddress instance is corbaloc:iiop:1.2:55002/tunnel
, the new TunnelWSDLAddress instance will have the same value for the location.
Reimplemented from IT_WSDL::WSDLExtensionElement.
virtual void IT_Bus::TunnelWSDLAddress::read_contents | ( | IT_Bus::ComplexTypeReader & | os | ) | throw ((IT_Bus::DeserializationException)) [virtual] |
Read the member values into the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
virtual void IT_Bus::TunnelWSDLAddress::write_contents | ( | IT_Bus::ComplexTypeWriter & | os | ) | const throw ((IT_Bus::SerializationException)) [virtual] |
Write the member values of the instance.
Derived subclasses implement this method.
Implements IT_Bus::SequenceComplexType.
virtual const IT_Bus::QName& IT_Bus::TunnelWSDLAddress::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 IT_Bus::AnyType& IT_Bus::TunnelWSDLAddress::copy | ( | const IT_Bus::AnyType & | rhs | ) | [virtual] |
Return a reference to this instance.
Reimplemented from IT_Bus::TunnelWSDLExtensionElement.