Class: Mfp::ControlEvent
- Inherits:
-
Data
- Object
- Data
- Mfp::ControlEvent
- Defined in:
- lib/mfp/event.rb
Overview
ControlEvent is delivered when a CONTROL frame is received on a connection. Payload is opaque to MFP — its structure is defined by the upper-layer protocol. StreamID may be zero for connection-scoped signals.
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#stream_id ⇒ Object
readonly
Returns the value of attribute stream_id.
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload
12 13 14 |
# File 'lib/mfp/event.rb', line 12 def payload @payload end |
#stream_id ⇒ Object (readonly)
Returns the value of attribute stream_id
12 13 14 |
# File 'lib/mfp/event.rb', line 12 def stream_id @stream_id end |