Class: MonitoringProtocols::NetworkMessage
- Inherits:
-
DataStruct
- Object
- DataStruct
- MonitoringProtocols::NetworkMessage
- Defined in:
- lib/monitoring_protocols/struct.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#convert_content ⇒ DataPoint, Notification
Return a generic structure representing the content of this message.
Methods inherited from DataStruct
#<=>, attributes, #initialize, #list_keys, #merge_data_from!, properties, #selected_field?, #to_a, #to_h, #to_msgpack
Constructor Details
This class inherits a constructor from MonitoringProtocols::DataStruct
Instance Method Details
#convert_content ⇒ DataPoint, Notification
Return a generic structure representing the content of this message.
15 16 17 |
# File 'lib/monitoring_protocols/struct.rb', line 15 def convert_content raise 'reimplement in subclass' end |