Class: Arf::Wire::DataFrame
- Defined in:
- lib/arf/wire/frames/data_frame.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
Methods inherited from BaseFrame
#decode_flags, #decode_uint16, #decode_uint32, define_flag, #encode_flags, #encode_uint16, #encode_uint32, flags, #flags, frame_by_kind, frame_kind, #frame_kind, #initialize, #inspect_flags, register_frame, #to_frame, #value_size, value_size, wants_stream_id!, #wants_stream_id?, wants_stream_id?
Constructor Details
This class inherits a constructor from Arf::Wire::BaseFrame
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
12 13 14 |
# File 'lib/arf/wire/frames/data_frame.rb', line 12 def payload @payload end |
Instance Method Details
#encode_payload ⇒ Object
18 |
# File 'lib/arf/wire/frames/data_frame.rb', line 18 def encode_payload = @payload |
#from_frame(fr) ⇒ Object
14 15 16 |
# File 'lib/arf/wire/frames/data_frame.rb', line 14 def from_frame(fr) @payload = fr.payload end |