Class: RocketAMF::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/rocketamf/remoting.rb

Overview

RocketAMF::Request or RocketAMF::Response message

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_uri, response_uri, data) ⇒ Message

Returns a new instance of Message.



127
128
129
130
131
# File 'lib/rocketamf/remoting.rb', line 127

def initialize target_uri, response_uri, data
  @target_uri = target_uri
  @response_uri = response_uri
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



125
126
127
# File 'lib/rocketamf/remoting.rb', line 125

def data
  @data
end

#response_uriObject

Returns the value of attribute response_uri.



125
126
127
# File 'lib/rocketamf/remoting.rb', line 125

def response_uri
  @response_uri
end

#target_uriObject

Returns the value of attribute target_uri.



125
126
127
# File 'lib/rocketamf/remoting.rb', line 125

def target_uri
  @target_uri
end