|
| | UnixSocketClient (const std::string &path) |
| | Construct a new Unix Socket Client object. More...
|
| |
| int | connect () |
| | Make connection to socket. More...
|
| |
| | SocketBase (int domain, int type, int protocol=0) |
| | Construct a new Socket Base object. Opens a socket fd. More...
|
| |
| | ~SocketBase () |
| | Destroy the Socket Base object. Calls close() on the socket fd. More...
|
| |
| void | close_connection (int fd=0) |
| | Close a connection. More...
|
| |
| void | send_data_async (const std::string &str, int flags=0, int fd=0) |
| | Send a string. More...
|
| |
| void | send_data_sync (const std::string &str, int flags=0, int fd=0) |
| | Send a string and wait for ACK. More...
|
| |
| void | send_data (const std::string &str, int flags=0, int fd=0) |
| | Send a string and wait for ACK (alias for ffd::SocketBase::send_data_sync(const std::string&, int, int)) More...
|
| |
| void | send_data_async (const std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Send a vector as a record separator (0x1E) delimited string. More...
|
| |
| void | send_data_sync (const std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Send a vector as a record separator (0x1E) delimited string and wait for ACK. More...
|
| |
| void | send_data (const std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Send a vector as a record separator (0x1E) delimited string and wait for ACK (alias for ffd::SocketBase::send_data_sync(const std::vector<std::string>&, int, int)) More...
|
| |
| void | receive_data_async (std::string &payload, int flags=0, int fd=0) |
| | Receive a string. More...
|
| |
| void | receive_data_sync (std::string &payload, int flags=0, int fd=0) |
| | Receive a string and reply with ACK. More...
|
| |
| void | receive_data (std::string &payload, int flags=0, int fd=0) |
| | Receive a string and reply with ACK (alias for ffd::SocketBase::receive_data_sync(std::string&, int, int)) More...
|
| |
| void | receive_data_async (std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Receive a vector as a record separator (0x1E) delimited string. More...
|
| |
| void | receive_data_sync (std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Receive a vector as a record separator (0x1E) delimited string and reply with ACK. More...
|
| |
| void | receive_data (std::vector< std::string > &vec, int flags=0, int fd=0) |
| | Receive a vector as a record separator (0x1E) delimited string and reply with ACK (alias for ffd::SocketBase::receive_data_sync(std::vector<std::string>&, int, int)) More...
|
| |
| void | shutdown (int how=SHUT_RDWR) |
| | Call shutdown() on the socket fd, waking any blocked threads. More...
|
| |
Unix Socket Client class. Used for IPC through a named socket inode.