/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "base/CbcPointer.h"
#include "helper/forward.h"
+#include "helper/ReservationId.h"
#include "helper/ResultCode.h"
#include "MemBuf.h"
#include "Notes.h"
Reply &operator =(const Helper::Reply &r);
public:
- explicit Reply(Helper::ResultCode res) : result(res), notes(), whichServer(NULL) {}
+ explicit Reply(Helper::ResultCode res) : result(res), notes() {}
/// Creates a NULL reply
Reply();
// list of key=value pairs the helper produced
NotePairs notes;
- /// for stateful replies the responding helper 'server' needs to be preserved across callbacks
- CbcPointer<helper_stateful_server> whichServer;
-
+ /// The stateful replies should include the reservation ID
+ Helper::ReservationId reservationId;
private:
void parseResponseKeys();