Ipc::StrandCoord Class Reference

Strand location details. More...

#include <StrandCoord.h>

Collaboration diagram for Ipc::StrandCoord:

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

◆ pid

pid_t Ipc::StrandCoord::pid

Definition at line 32 of file StrandCoord.h.

Referenced by Ipc::Strand::handleRegistrationResponse().

◆ tag


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors