Method: Cql::Protocol::EventResponse.decode!
- Defined in:
- lib/cql/protocol/responses/event_response.rb
.decode!(buffer, trace_id = nil) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/cql/protocol/responses/event_response.rb', line 6 def self.decode!(buffer, trace_id=nil) type = read_string!(buffer) impl = EVENT_TYPES[type] raise UnsupportedEventTypeError, %(Unsupported event type: "#{type}") unless impl impl.decode!(buffer, trace_id) end |