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 19 of file StrandCoord.h.

Constructor & Destructor Documentation

Ipc::StrandCoord::StrandCoord ( )

Definition at line 17 of file StrandCoord.cc.

Ipc::StrandCoord::StrandCoord ( int  akidId,
pid_t  aPid 
)

Definition at line 21 of file StrandCoord.cc.

Member Function Documentation

void Ipc::StrandCoord::pack ( TypedMsgHdr hdrMsg) const

Definition at line 33 of file StrandCoord.cc.

References pid, Ipc::TypedMsgHdr::putPod(), and Ipc::TypedMsgHdr::putString().

void Ipc::StrandCoord::unpack ( const TypedMsgHdr hdrMsg)

Definition at line 26 of file StrandCoord.cc.

References Ipc::TypedMsgHdr::getPod(), Ipc::TypedMsgHdr::getString(), and pid.

Member Data Documentation

pid_t Ipc::StrandCoord::pid

Definition at line 30 of file StrandCoord.h.

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

String Ipc::StrandCoord::tag

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors