#include <it_bus_config/tunnel_wsdl_policy.h>
Inheritance diagram for IT_Bus::TunnelWSDLPolicy:
Definition at line 15 of file tunnel_wsdl_policy.h.
Public Member Functions | |
const String & | get_poaname () const |
Get the value of the poaname attribute. | |
const String & | get_serviceid () const |
Get the value of the serviceid attribute. | |
bool | is_persistent () const |
Return an indicator of the value assigned to the persistent attribute. | |
virtual void | write (const IT_Bus::QName &, IT_Bus::ComplexTypeWriter &) 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 ((IOException)) |
Writes the attributes for the node to the stream specified. | |
virtual IT_Bus::AnyType & | operator= (const IT_Bus::AnyType &) |
Assignment operator to an AnyType. | |
Static Public Attributes | |
static const String | ELEMENT_NAME |
static const String | POA_NAME_ATTRIBUTE_NAME |
static const String | SERVICE_ID_ATTRIBUTE_NAME |
static const String | PERSISTENT_ATTRIBUTE_NAME |
Private Attributes | |
String | m_poaname |
String | m_serviceid |
bool | m_is_persistent |
bool | m_is_user_id |
const String& IT_Bus::TunnelWSDLPolicy::get_poaname | ( | ) | const |
Get the value of the poaname attribute.
Each port within a WSDL file that uses the IIOP tunnel transport must have a unique poaname.
const String& IT_Bus::TunnelWSDLPolicy::get_serviceid | ( | ) | const |
Get the value of the serviceid attribute.
bool IT_Bus::TunnelWSDLPolicy::is_persistent | ( | ) | const |
Return an indicator of the value assigned to the persistent attribute.
virtual void IT_Bus::TunnelWSDLPolicy::write | ( | const IT_Bus::QName & | , | |
IT_Bus::ComplexTypeWriter & | ||||
) | const throw ((IT_Bus::SerializationException)) [inline, virtual] |
Write the content of the instance.
Derived subclasses implement this method.
Reimplemented from IT_WSDL::WSDLExtensionElement.
Definition at line 65 of file tunnel_wsdl_policy.h.
virtual void IT_Bus::TunnelWSDLPolicy::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.