]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/RequestId.cc
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "base/TextException.h"
11 #include "debug/Stream.h"
12 #include "ipc/RequestId.h"
16 Ipc::RequestId::RequestId(const Index anIndex
):
17 qid_(anIndex
? MyQuestionerId() : QuestionerId()),
23 Ipc::operator <<(std::ostream
&os
, const RequestId
&requestId
)
25 os
<< requestId
.index() << '@' << requestId
.questioner();