Class: GetResponsePDU

GetResponsePDU

new GetResponsePDU(ackSequence, code, errorMessageArg, keyArg, chunkSize, dbVersionArg, tagArg, algorithm) → {Kinetic}

Parameters:
Name Type Description
ackSequence number monotically increasing number for each request in a TCP connection
code number response code (SUCCESS, FAIL...)
errorMessageArg Buffer Detailed error message.
keyArg Buffer key of the item to gotten item.
chunkSize number size of the got chunk.
dbVersionArg Buffer The version of the item in the database.
tagArg Buffer the hash of the value to put.
algorithm string algorithm used for the tag.
Source:
Returns:
- message structure following the kinetic protocol
Type
Kinetic