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):
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:27
static String CoordinatorAddr()
get the IPC message address for coordinator process
Definition: Port.cc:65
Definition: RequestId.h:23
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
holds information necessary to handle JoinListen response
Definition: SharedListen.cc:29
Ipc::OpenListenerParams params
actual comm_open_sharedListen() parameters
Definition: SharedListen.cc:31
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
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:160
void JoinSharedListen(const OpenListenerParams &, AsyncCall::Pointer &)
prepare and send SharedListenRequest to Coordinator
Definition: SharedListen.cc:144
Definition: opensolaris_10_netdb.h:121