Class: Cql::Protocol::TopologyChangeEventResponse

Inherits:
StatusChangeEventResponse show all
Defined in:
lib/cql/protocol/responses/topology_change_event_response.rb

Constant Summary collapse

TYPE =
'TOPOLOGY_CHANGE'.freeze

Instance Attribute Summary

Attributes inherited from StatusChangeEventResponse

#address, #change, #port, #type

Attributes inherited from ResultResponse

#trace_id

Instance Method Summary collapse

Methods inherited from StatusChangeEventResponse

decode!, #to_s

Methods inherited from EventResponse

decode!

Methods inherited from ResultResponse

decode!, #void?

Methods inherited from Response

decode!

Methods included from Decoding

#read_byte!, #read_bytes!, #read_consistency!, #read_decimal!, #read_double!, #read_float!, #read_inet!, #read_int!, #read_long!, #read_long_string!, #read_option!, #read_short!, #read_short_bytes!, #read_string!, #read_string_list!, #read_string_map!, #read_string_multimap!, #read_uuid!, #read_varint!

Constructor Details

#initialize(*args) ⇒ TopologyChangeEventResponse

Returns a new instance of TopologyChangeEventResponse.



8
9
10
11
# File 'lib/cql/protocol/responses/topology_change_event_response.rb', line 8

def initialize(*args)
  super
  @type = TYPE
end