Class: DjiMqttConnect::MessageMarshal
- Inherits:
-
Object
- Object
- DjiMqttConnect::MessageMarshal
- Defined in:
- lib/dji_mqtt_connect/message_marshal.rb
Direct Known Subclasses
Sys::Product::StatusMarshal, Sys::Product::StatusReplyMarshal, Thing::Product::EventsMarshal, Thing::Product::EventsReplyMarshal, Thing::Product::OsdMarshal, Thing::Product::RequestsMarshal, Thing::Product::RequestsReplyMarshal, Thing::Product::ServicesMarshal, Thing::Product::ServicesReplyMarshal, Thing::Product::StateMarshal, Thing::Product::StateReplyMarshal
Instance Method Summary collapse
-
#dump(_message) ⇒ Object
Serialize message for sending via a topic.
-
#load(_raw_string) ⇒ Object
Parse message loaded from a topic.
Instance Method Details
#dump(_message) ⇒ Object
Serialize message for sending via a topic
15 16 17 |
# File 'lib/dji_mqtt_connect/message_marshal.rb', line 15 def dump() raise NotImplementedError end |
#load(_raw_string) ⇒ Object
Parse message loaded from a topic
10 11 12 |
# File 'lib/dji_mqtt_connect/message_marshal.rb', line 10 def load(_raw_string) raise NotImplementedError end |