Class: WBEM::MESSAGE
- Inherits:
-
CIMElement
- Object
- REXML::Element
- CIMElement
- WBEM::MESSAGE
- Defined in:
- lib/wbem/cim_xml.rb
Overview
Message elements
Instance Method Summary collapse
-
#initialize(data, message_id, protocol_version) ⇒ MESSAGE
constructor
<!ELEMENT MESSAGE (SIMPLEREQ | MULTIREQ | SIMPLERSP | MULTIRSP) | MULTIEXPRSP)> <!ATTLIST MESSAGE ID CDATA #REQUIRED PROTOCOLVERSION CDATA #REQUIRED> “”“.
Methods inherited from CIMElement
#add_elements, #add_optional_attribute, #add_optional_element, #setName, #toxml
Constructor Details
#initialize(data, message_id, protocol_version) ⇒ MESSAGE
<!ELEMENT MESSAGE (SIMPLEREQ | MULTIREQ | SIMPLERSP | MULTIRSP) |
MULTIEXPRSP)>
<!ATTLIST MESSAGE
ID CDATA #REQUIRED PROTOCOLVERSION CDATA #REQUIRED>
"""
1023 1024 1025 1026 1027 1028 |
# File 'lib/wbem/cim_xml.rb', line 1023 def initialize(data, , protocol_version) super("MESSAGE") self.add_attribute("ID", ) self.add_attribute("PROTOCOLVERSION", protocol_version) self.add_element(data) end |