Class: Cql::Protocol::FrameDecoder::PartialFrame

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fieldsObject (readonly)

Returns the value of attribute fields.



74
75
76
# File 'lib/cql/protocol/frame_decoder.rb', line 74

def fields
  @fields
end

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

Returns:

  • (Boolean)


85
86
87
# File 'lib/cql/protocol/frame_decoder.rb', line 85

def complete?
  false
end

#stream_idObject



81
82
83
# File 'lib/cql/protocol/frame_decoder.rb', line 81

def stream_id
  nil
end