Provides a context for generating the response to a StatusDataset request.
 
void append(const Block &block)
Appends a Block to the response.
 
StatusDatasetContext & setPrefix(const Name &prefix)
Changes the prefix of the response Data packets.
 
const Name & getPrefix() const
Returns the prefix of Data packets, with version component but without segment component.
 
void end()
Finalizes the response successfully after appending zero or more blocks.
 
void reject(const ControlResponse &resp=ControlResponse().setCode(400))
Rejects the request.