"shared listen" is when concurrent processes are listening on the same fd More...
#include <SharedListen.h>
Public Member Functions | |
bool | operator< (const OpenListenerParams &p) const |
useful for map<> More... | |
Public Attributes | |
int | sock_type = 0 |
int | proto = 0 |
int | fdNote = 0 |
index into fd_note() comment strings More... | |
Ip::Address | addr |
will be memset and memcopied More... | |
int | flags = 0 |
Detailed Description
Comm::ConnAcceptor parameters holder all the details necessary to recreate a Comm::Connection and fde entry for the kid listener FD
Definition at line 28 of file SharedListen.h.
Member Function Documentation
◆ operator<()
bool Ipc::OpenListenerParams::operator< | ( | const OpenListenerParams & | p | ) | const |
Definition at line 59 of file SharedListen.cc.
References addr, Ip::Address::compareWhole(), proto, and sock_type.
Member Data Documentation
◆ addr
Ip::Address Ipc::OpenListenerParams::addr |
Definition at line 39 of file SharedListen.h.
Referenced by Ipc::Coordinator::handleSharedListenRequest(), Ipc::Coordinator::openListenSocket(), operator<(), SendSharedListenRequest(), Ipc::SharedListenJoined(), and Ipc::StartListening().
◆ fdNote
int Ipc::OpenListenerParams::fdNote = 0 |
Definition at line 36 of file SharedListen.h.
Referenced by Ipc::Coordinator::openListenSocket(), Ipc::SharedListenJoined(), and Ipc::StartListening().
◆ flags
int Ipc::OpenListenerParams::flags = 0 |
Definition at line 40 of file SharedListen.h.
Referenced by Ipc::Coordinator::openListenSocket(), Ipc::SharedListenJoined(), and Ipc::StartListening().
◆ proto
int Ipc::OpenListenerParams::proto = 0 |
Definition at line 35 of file SharedListen.h.
Referenced by Ipc::Coordinator::openListenSocket(), operator<(), Ipc::SharedListenJoined(), and Ipc::StartListening().
◆ sock_type
int Ipc::OpenListenerParams::sock_type = 0 |
Definition at line 34 of file SharedListen.h.
Referenced by Ipc::Coordinator::openListenSocket(), operator<(), Ipc::SharedListenJoined(), and Ipc::StartListening().
The documentation for this class was generated from the following files:
- src/ipc/SharedListen.h
- src/ipc/SharedListen.cc