Module: ZMQMachine::Message
- Defined in:
- lib/zm/message.rb
Instance Method Summary collapse
- #encode ⇒ Object
-
#identity ⇒ Object
A unique identifier for this message.
Instance Method Details
#encode ⇒ Object
46 47 48 49 |
# File 'lib/zm/message.rb', line 46 def encode raise NotImplementedError, "You must implement the #encode method in your Message class", caller # FIXME: default to json encoding? end |
#identity ⇒ Object
A unique identifier for this message
42 43 44 |
# File 'lib/zm/message.rb', line 42 def identity end |