Module: ZMQMachine::Message

Defined in:
lib/zm/message.rb

Instance Method Summary collapse

Instance Method Details

#encodeObject

Raises:

  • (NotImplementedError)


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

#identityObject

A unique identifier for this message



42
43
44
# File 'lib/zm/message.rb', line 42

def identity
  
end