00001 #ifndef _IT_BUS_CONFIG_TUNNEL_WSDL_POLICY_H_
00002 #define _IT_BUS_CONFIG_TUNNEL_WSDL_POLICY_H_
00003
00004
00005
00006
00007 #include <it_bus_config/tunnel_wsdl_extension_element.h>
00008
00009 namespace IT_Bus
00010 {
00015 class IT_TUNNEL_API TunnelWSDLPolicy : public TunnelWSDLExtensionElement
00016 {
00017 public:
00018
00019 TunnelWSDLPolicy(
00020 IT_WSDL::WSDLExtensibleNode* the_node
00021 );
00022
00023 TunnelWSDLPolicy();
00024
00025 virtual ~TunnelWSDLPolicy();
00026
00035 const String &
00036 get_poaname() const;
00037
00043 const String &
00044 get_serviceid() const;
00045
00051 bool
00052 is_persistent() const;
00053
00054 bool
00055 is_user_id() const;
00056
00057 bool
00058 parse(
00059 const XMLIterator & element_iterator,
00060 const IT_Bus::XMLNode & element,
00061 IT_WSDL::WSDLErrorHandler & error_handler
00062 );
00063
00064 virtual void
00065 write(
00066 const IT_Bus::QName& ,
00067 IT_Bus::ComplexTypeWriter&
00068 ) const throw((IT_Bus::SerializationException))
00069 {
00070
00071 }
00072
00073 virtual void
00074 write(
00075 IT_Bus::XMLOutputStream & stream
00076 ) const throw((IT_Bus::IOException));
00077
00081 virtual void
00082 write_attributes(
00083 IT_Bus::XMLOutputStream & stream
00084 ) const throw((IOException));
00085
00086 IT_WSDL::WSDLExtensionElement*
00087 clone() const;
00088
00092 virtual
00093 IT_Bus::AnyType&
00094 operator=(
00095 const IT_Bus::AnyType&
00096 )
00097 {
00098 return *this;
00099 }
00100
00101 static const String ELEMENT_NAME;
00102
00103 static const String POA_NAME_ATTRIBUTE_NAME;
00104
00105 static const String SERVICE_ID_ATTRIBUTE_NAME;
00106
00107 static const String PERSISTENT_ATTRIBUTE_NAME;
00108
00109 private:
00110
00111 TunnelWSDLPolicy &
00112 operator = (
00113 const TunnelWSDLPolicy& rhs
00114 );
00115
00116 TunnelWSDLPolicy (
00117 const TunnelWSDLPolicy& rhs
00118 );
00119
00120 String m_poaname;
00121 String m_serviceid;
00122 bool m_is_persistent;
00123 bool m_is_user_id;
00124 };
00125 }
00126
00127 #endif