Strand location details. More...
#include <StrandCoord.h>
Public Member Functions | |
StrandCoord () | |
unknown location More... | |
StrandCoord (int akidId, pid_t aPid) | |
void | pack (TypedMsgHdr &hdrMsg) const |
prepare for sendmsg() More... | |
void | unpack (const TypedMsgHdr &hdrMsg) |
from recvmsg() More... | |
Public Attributes | |
int | kidId |
internal Squid process number More... | |
pid_t | pid |
OS process or thread identifier. More... | |
String | tag |
optional unique well-known key (e.g., cache_dir path) More... | |
Detailed Description
Definition at line 21 of file StrandCoord.h.
Constructor & Destructor Documentation
◆ StrandCoord() [1/2]
Ipc::StrandCoord::StrandCoord | ( | ) |
Definition at line 18 of file StrandCoord.cc.
◆ StrandCoord() [2/2]
Ipc::StrandCoord::StrandCoord | ( | int | akidId, |
pid_t | aPid | ||
) |
Definition at line 22 of file StrandCoord.cc.
Member Function Documentation
◆ pack()
void Ipc::StrandCoord::pack | ( | TypedMsgHdr & | hdrMsg | ) | const |
Definition at line 34 of file StrandCoord.cc.
References pid, Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::putString().
◆ unpack()
void Ipc::StrandCoord::unpack | ( | const TypedMsgHdr & | hdrMsg | ) |
Definition at line 27 of file StrandCoord.cc.
References Ipc::TypedMsgHdr::getPod(), Ipc::TypedMsgHdr::getString(), and pid.
Member Data Documentation
◆ kidId
int Ipc::StrandCoord::kidId |
Definition at line 31 of file StrandCoord.h.
Referenced by Ipc::Coordinator::handleRegistrationRequest(), Ipc::Strand::handleRegistrationResponse(), LesserStrandByKidId(), Ipc::Coordinator::notifySearcher(), IpcIoFile::openCompleted(), and Ipc::Coordinator::registerStrand().
◆ pid
pid_t Ipc::StrandCoord::pid |
Definition at line 32 of file StrandCoord.h.
Referenced by Ipc::Strand::handleRegistrationResponse().
◆ tag
String Ipc::StrandCoord::tag |
Definition at line 34 of file StrandCoord.h.
Referenced by IpcIoFile::HandleOpenResponse(), Ipc::StrandMessage::NotifyCoordinator(), and Ipc::Coordinator::registerStrand().
The documentation for this class was generated from the following files:
- src/ipc/StrandCoord.h
- src/ipc/StrandCoord.cc