Class: MonitoringProtocols::NetworkMessage

Inherits:
DataStruct
  • Object
show all
Defined in:
lib/monitoring_protocols/struct.rb

Direct Known Subclasses

Collectd::NetworkMessage

Instance Method Summary collapse

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_contentDataPoint, Notification

Return a generic structure representing the content of this message.

Returns:



15
16
17
# File 'lib/monitoring_protocols/struct.rb', line 15

def convert_content
  raise 'reimplement in subclass'
end