Class: Cql::Protocol::FrameDecoder::CompleteFrame

Inherits:
Object
  • Object
show all
Defined in:
lib/cql/protocol/frame_decoder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



91
92
93
# File 'lib/cql/protocol/frame_decoder.rb', line 91

def body
  @body
end

#stream_idObject (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

Returns:

  • (Boolean)


98
99
100
# File 'lib/cql/protocol/frame_decoder.rb', line 98

def complete?
  true
end