Class: Cql::Protocol::FrameDecoder::PartialFrame
- Inherits:
-
Object
- Object
- Cql::Protocol::FrameDecoder::PartialFrame
- Defined in:
- lib/cql/protocol/frame_decoder.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
- #complete? ⇒ Boolean
-
#initialize(fields, size) ⇒ PartialFrame
constructor
A new instance of PartialFrame.
- #stream_id ⇒ Object
Constructor Details
#initialize(fields, size) ⇒ PartialFrame
Returns a new instance of PartialFrame.
76 77 78 79 |
# File 'lib/cql/protocol/frame_decoder.rb', line 76 def initialize(fields, size) @fields = fields @size = size end |
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields.
74 75 76 |
# File 'lib/cql/protocol/frame_decoder.rb', line 74 def fields @fields end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
74 75 76 |
# File 'lib/cql/protocol/frame_decoder.rb', line 74 def size @size end |
Instance Method Details
#complete? ⇒ Boolean
85 86 87 |
# File 'lib/cql/protocol/frame_decoder.rb', line 85 def complete? false end |
#stream_id ⇒ Object
81 82 83 |
# File 'lib/cql/protocol/frame_decoder.rb', line 81 def stream_id nil end |