void reject(const ControlResponse &resp=ControlResponse().setCode(400))
declare the non-existence of a response
StatusDatasetContext & setExpiry(const time::milliseconds &expiry)
set expiration duration
void end()
end the response successfully after appending zero or more blocks
const time::milliseconds & getExpiry() const
const Name & getPrefix() const
StatusDatasetContext & setPrefix(const Name &prefix)
change prefix of Data packets
void append(const Block &block)
append a Block to the response
provides a context for generating response to a StatusDataset request