11#ifndef SQUID_SRC_IPC_PORT_H
12#define SQUID_SRC_IPC_PORT_H
32 void start()
override = 0;
Waits for and receives incoming IPC messages; kids handle the messages.
void noteRead(const CommIoCbParams ¶ms)
bool doneAll() const override
whether positive goal has been reached
void doListen()
read the next incoming message
void start() override=0
called by AsyncStart; do not call directly
void receiveOrIgnore(const TypedMsgHdr &)
receive() but ignore any errors
virtual void receive(const TypedMsgHdr &)=0
TypedMsgHdr buf
msghdr struct filled by Comm
static String CoordinatorAddr()
get the IPC message address for coordinator process
static String MakeAddr(const char *proccessLabel, int id)
calculates IPC message address for strand id of processLabel type
struct msghdr with a known type, fixed-size I/O and control buffers
const char strandAddrLabel[]
strand's listening address unique label