Supported packet (Cassandra)
This packet is sent by the server in response to an Options packet, to tell the client what options the server supports.
Properties
entries (list<StringMultimap>): the options supported by the server. It is usually easier to use the methods to read and manipulate these.
Methods
list<string> getEntry(string name): gets the value of the given entry.
void setEntry(string name, string... value): sets the value of the given entry, creating it if necessary. As many values as required can be given.
boolean removeEntry(string name): removes the entry if found. Returns true if found.
StringMultimap object
Methods
string getName(): returns the name of the entry
void setName(string name): sets the name of the entry
list<string> getValues(): returns the values of the entry
void setValues(list<string>): sets the values for the entry
Notes
Because Gallium Data only supports protocol versions 3, 4 and 5, if the server indicates that it supports other versions (such as 6-beta), these versions will automatically be removed from this packet.