Class: 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
292
293
294
295
296
|
# File 'lib/postgres-pr/message.rb', line 292
def dump
super(@cmd_tag.size + 1) do |buffer|
buffer.write_cstring(@cmd_tag)
end
end
|
#parse(buffer) ⇒ Object
298
299
300
301
302
|
# File 'lib/postgres-pr/message.rb', line 298
def parse(buffer)
super do
@cmd_tag = buffer.read_cstring
end
end
|