Class: PostgresPR::CommandComplete
Constant Summary
Constants inherited
from Message
Message::MsgTypeMap
Instance Method Summary
collapse
Methods inherited from Message
create, dump, fields, read, register_message_type
Instance Method Details
#dump ⇒ Object
312
313
314
315
316
|
# File 'lib/postgres-pr/message.rb', line 312
def dump
super(@cmd_tag.size + 1) do |buffer|
buffer.write_cstring(@cmd_tag)
end
end
|
#parse(buffer) ⇒ Object
318
319
320
321
322
|
# File 'lib/postgres-pr/message.rb', line 318
def parse(buffer)
super do
@cmd_tag = buffer.read_cstring
end
end
|