Class: Cql::Protocol::FrameDecoder::CompleteFrame
- Inherits:
-
Object
- Object
- Cql::Protocol::FrameDecoder::CompleteFrame
- Defined in:
- lib/cql/protocol/frame_decoder.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#stream_id ⇒ Object
readonly
Returns the value of attribute stream_id.
Instance Method Summary collapse
- #complete? ⇒ Boolean
-
#initialize(stream_id, body) ⇒ CompleteFrame
constructor
A new instance of CompleteFrame.
Constructor Details
#initialize(stream_id, body) ⇒ CompleteFrame
Returns a new instance of CompleteFrame.
93 94 95 96 |
# File 'lib/cql/protocol/frame_decoder.rb', line 93 def initialize(stream_id, body) @stream_id = stream_id @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
91 92 93 |
# File 'lib/cql/protocol/frame_decoder.rb', line 91 def body @body end |
#stream_id ⇒ Object (readonly)
Returns the value of attribute stream_id.
91 92 93 |
# File 'lib/cql/protocol/frame_decoder.rb', line 91 def stream_id @stream_id end |
Instance Method Details
#complete? ⇒ Boolean
98 99 100 |
# File 'lib/cql/protocol/frame_decoder.rb', line 98 def complete? true end |