SharedListen.cc
Go to the documentation of this file.
72 Ipc::SharedListenRequest::SharedListenRequest(const OpenListenerParams &aParams, const RequestId aMapId):
94 Ipc::SharedListenResponse::SharedListenResponse(const int aFd, const int anErrNo, const RequestId aMapId):
int KidIdentifier
Definition: opensolaris_10_netdb.h:121
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:510
"shared listen" is when concurrent processes are listening on the same fd
Definition: SharedListen.h:27
void JoinSharedListen(const OpenListenerParams &, AsyncCall::Pointer &)
prepare and send SharedListenRequest to Coordinator
Definition: SharedListen.cc:144
static String CoordinatorAddr()
get the IPC message address for coordinator process
Definition: Port.cc:65
Ipc::OpenListenerParams params
actual comm_open_sharedListen() parameters
Definition: SharedListen.cc:31
void SendMessage(const String &toAddress, const TypedMsgHdr &message)
Definition: UdsOp.cc:188
holds information necessary to handle JoinListen response
Definition: SharedListen.cc:29
void getAddrInfo(struct addrinfo *&ai, int force=AF_UNSPEC) const
Definition: Address.cc:599
Subscription::Pointer handlerSubscription
The subscription we will pass on to the ConnAcceptor.
Definition: StartListening.h:38
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:33
void SharedListenJoined(const SharedListenResponse &response)
process Coordinator response to SharedListenRequest
Definition: SharedListen.cc:160
Definition: RequestId.h:23