StrandSearch.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
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.
7  */
8 
9 #ifndef SQUID_IPC_STRAND_SEARCH_H
10 #define SQUID_IPC_STRAND_SEARCH_H
11 
12 #include "ipc/forward.h"
13 #include "ipc/StrandCoord.h"
14 #include "SquidString.h"
15 
16 namespace Ipc
17 {
18 
21 {
22 public:
24  explicit StrandSearchRequest(const TypedMsgHdr &hdrMsg);
25  void pack(TypedMsgHdr &hdrMsg) const;
26 
27 public:
30 };
31 
34 {
35 public:
37  explicit StrandSearchResponse(const TypedMsgHdr &hdrMsg);
38  void pack(TypedMsgHdr &hdrMsg) const;
39 
40 public:
42 };
43 
44 } // namespace Ipc;
45 
46 #endif /* SQUID_IPC_STRAND_SEARCH_H */
47 
int requestorId
sender-provided return address
Definition: StrandSearch.h:28
String tag
set when looking for a matching StrandCoord::tag
Definition: StrandSearch.h:29
void pack(TypedMsgHdr &hdrMsg) const
prepare for sendmsg()
Definition: StrandSearch.cc:48
Strand location details.
Definition: StrandCoord.h:19
StrandCoord strand
answer matching StrandSearchRequest criteria
Definition: StrandSearch.h:41
asynchronous strand search request
Definition: StrandSearch.h:20
void pack(TypedMsgHdr &hdrMsg) const
prepare for sendmsg()
Definition: StrandSearch.cc:28
asynchronous strand search response
Definition: StrandSearch.h:33
StrandSearchResponse(const StrandCoord &strand)
Definition: StrandSearch.cc:37
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:31

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors