Coordinator.h
Go to the documentation of this file.
Coordinates shared activities of Strands (Squid processes or threads)
Definition: Coordinator.h:31
std::map< OpenListenerParams, Comm::ConnectionPointer > Listeners
params:connection map
Definition: Coordinator.h:74
void handleSharedListenRequest(const SharedListenRequest &request)
returns cached socket or calls openListenSocket()
Definition: Coordinator.cc:147
Comm::ConnectionPointer openListenSocket(const SharedListenRequest &request, int &errNo)
calls comm_open_listener()
Definition: Coordinator.cc:254
void receive(const TypedMsgHdr &message) override
Definition: Coordinator.cc:79
Coordinator(const Coordinator &)
void handleSnmpRequest(const Snmp::Request &request)
Definition: Coordinator.cc:233
Coordinator & operator=(const Coordinator &)
CBDATA_CHILD(Coordinator)
void handleCacheMgrRequest(const Mgr::Request &request)
Definition: Coordinator.cc:167
void notifySearcher(const StrandSearchRequest &request, const StrandCoord &)
answer the waiting search request
Definition: Coordinator.cc:220
void handleSnmpResponse(const Snmp::Response &response)
Definition: Coordinator.cc:246
void handleSearchRequest(const StrandSearchRequest &request)
answers or queues the request if the answer is not yet known
Definition: Coordinator.cc:199
void handleCacheMgrResponse(const Mgr::Response &response)
Definition: Coordinator.cc:193
Waits for and receives incoming IPC messages; kids handle the messages.
Definition: Port.h:22
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
Definition: Response.h:24
Definition: Response.h:24
Definition: IpcIoFile.h:24
std::vector< StrandCoord > StrandCoords
a collection of strand coordinates; the order, if any, is owner-dependent
Definition: StrandCoords.h:19