Class: Pixo::Ipc::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/pixo/ipc/service.rb

Direct Known Subclasses

RequestMessage, ResponseMessage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Message

Returns a new instance of Message.



90
91
92
# File 'lib/pixo/ipc/service.rb', line 90

def initialize(data)
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



87
88
89
# File 'lib/pixo/ipc/service.rb', line 87

def data
  @data
end

#ridObject (readonly)

Returns the value of attribute rid.



88
89
90
# File 'lib/pixo/ipc/service.rb', line 88

def rid
  @rid
end