Class: PostgresPR::CommandComplete

Inherits:
Message
  • Object
show all
Defined in:
lib/postgres-pr/message.rb

Constant Summary

Constants inherited from Message

Message::MsgTypeMap

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Message

create, #dump, dump, read, register_message_type

Instance Attribute Details

#cmd_tagObject (readonly)

Returns the value of attribute cmd_tag.



193
194
195
# File 'lib/postgres-pr/message.rb', line 193

def cmd_tag
  @cmd_tag
end

Instance Method Details

#parse(buffer) ⇒ Object



195
196
197
198
199
# File 'lib/postgres-pr/message.rb', line 195

def parse(buffer)
  super do
    @cmd_tag = buffer.read_cstring
  end
end