SharedListen.cc
Go to the documentation of this file.
73Ipc::SharedListenRequest::SharedListenRequest(const OpenListenerParams &aParams, const RequestId aMapId):
93Ipc::SharedListenResponse::SharedListenResponse(const int aFd, const int anErrNo, const RequestId aMapId):
void getAddrInfo(struct addrinfo *&ai, int force=AF_UNSPEC) const
Definition: Address.cc:599
"shared listen" is when concurrent processes are listening on the same fd
Definition: SharedListen.h:29
static String CoordinatorAddr()
get the IPC message address for coordinator process
Definition: Port.cc:65
Definition: RequestId.h:23
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
holds information necessary to handle JoinListen response
Definition: SharedListen.cc:30
Ipc::OpenListenerParams params
actual comm_open_sharedListen() parameters
Definition: SharedListen.cc:32
void comm_import_opened(const Comm::ConnectionPointer &conn, const char *note, struct addrinfo *AI)
update Comm state after getting a comm_open() FD from another process
Definition: comm.cc:542
int KidIdentifier
void SendMessage(const String &toAddress, const TypedMsgHdr &message)
Definition: UdsOp.cc:188
void SharedListenJoined(const SharedListenResponse &response)
process Coordinator response to SharedListenRequest
Definition: SharedListen.cc:159
void JoinSharedListen(const OpenListenerParams &, StartListeningCallback &)
prepare and send SharedListenRequest to Coordinator
Definition: SharedListen.cc:143