Class: RocketAMF::Header

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

Overview

RocketAMF::Envelope header

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, must_understand, data) ⇒ Header

Returns a new instance of Header.



121
122
123
124
125
# File 'lib/rocketamf/remoting.rb', line 121

def initialize name, must_understand, data
  @name = name
  @must_understand = must_understand
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



119
120
121
# File 'lib/rocketamf/remoting.rb', line 119

def data
  @data
end

#must_understandObject

Returns the value of attribute must_understand.



119
120
121
# File 'lib/rocketamf/remoting.rb', line 119

def must_understand
  @must_understand
end

#nameObject

Returns the value of attribute name.



119
120
121
# File 'lib/rocketamf/remoting.rb', line 119

def name
  @name
end