|
Squid Web Cache master
|
Strand location details. More...
#include <StrandCoord.h>
Public Member Functions | |
| StrandCoord () | |
| unknown location | |
| StrandCoord (int akidId, pid_t aPid) | |
| void | pack (TypedMsgHdr &hdrMsg) const |
| prepare for sendmsg() | |
| void | unpack (const TypedMsgHdr &hdrMsg) |
| from recvmsg() | |
Public Attributes | |
| int | kidId |
| internal Squid process number | |
| pid_t | pid |
| OS process or thread identifier. | |
| String | tag |
| optional unique well-known key (e.g., cache_dir path) | |
Definition at line 21 of file StrandCoord.h.
| Ipc::StrandCoord::StrandCoord | ( | ) |
Definition at line 18 of file StrandCoord.cc.
| Ipc::StrandCoord::StrandCoord | ( | int | akidId, |
| pid_t | aPid | ||
| ) |
Definition at line 22 of file StrandCoord.cc.
| void Ipc::StrandCoord::pack | ( | TypedMsgHdr & | hdrMsg | ) | const |
Definition at line 34 of file StrandCoord.cc.
References pid, Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::putString().
| void Ipc::StrandCoord::unpack | ( | const TypedMsgHdr & | hdrMsg | ) |
Definition at line 27 of file StrandCoord.cc.
References Ipc::TypedMsgHdr::getPod(), Ipc::TypedMsgHdr::getString(), and pid.
| 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_t Ipc::StrandCoord::pid |
Definition at line 32 of file StrandCoord.h.
| String Ipc::StrandCoord::tag |
Definition at line 34 of file StrandCoord.h.
Referenced by IpcIoFile::HandleOpenResponse(), Ipc::StrandMessage::NotifyCoordinator(), and Ipc::Coordinator::registerStrand().