#include <UNIXmsg.h>
Inheritance diagram for UNIXmsg:

Public Member Functions | |
| UNIXmsg (void) | |
| This creates pair of sockets that can be used, use the second constuctor to create other endof unix socket. | |
| UNIXmsg (SOCKET s) | |
| This creates a socket from socket that has already been used. | |
| UNIXmsg (const char *pathname) | |
| Short Description. | |
| ~UNIXmsg (void) | |
| void | closeOtherSocket (void) |
| Short Description. | |
| int | getFD (void) |
| int | getOtherSock (void) |
| int | send (void) |
| This should send complete message at once or fail. | |
| int | recv (void) |
| Short Description. | |
| int | recvNoWait (void) |
| Short Description. | |
Protected Attributes | |
| SOCKET | sock |
| SOCKET | other_sock |
Long Description if necessary.
| <parameter_name> | <parameter_descreption> |
Definition at line 18 of file UNIXmsg.h.
|
|
This creates pair of sockets that can be used, use the second constuctor to create other endof unix socket. Long Description if necessary.
Definition at line 25 of file UNIXmsg.cpp. References LocalSocketPair(), other_sock, sock, and SOCKET. |
|
|
This creates a socket from socket that has already been used.
Definition at line 38 of file UNIXmsg.cpp. References other_sock, and sock. |
|
|
Short Description. Long Description if necessary.
Definition at line 51 of file UNIXmsg.cpp. References other_sock, and sock. |
|
|
Definition at line 78 of file UNIXmsg.cpp. References other_sock, and sock. |
|
|
Short Description. Long Description if necessary.
Definition at line 94 of file UNIXmsg.cpp. References other_sock. Referenced by testUnamedSockets(). |
|
|
Definition at line 27 of file UNIXmsg.h. References sock. Referenced by Daemon::run(). |
|
|
Definition at line 28 of file UNIXmsg.h. References other_sock. Referenced by testUnamedSockets(). |
|
|
Short Description. Long Description if necessary.
Reimplemented from msg. Definition at line 135 of file UNIXmsg.cpp. References buflen, err_sys(), msg::error_code, msg::inbuf, and sock. Referenced by childTest(), parentTest(), recvNoWait(), and testUnamedSockets(). |
|
|
Short Description. Long Description if necessary.
Reimplemented from msg. Definition at line 161 of file UNIXmsg.cpp. References buflen, err_sys(), msg::error_code, msg::inbuf, recv(), and sock. Referenced by Daemon::processController(). |
|
|
This should send complete message at once or fail.
Reimplemented from msg. Definition at line 108 of file UNIXmsg.cpp. References err_sys(), msg::outbuf, and sock. Referenced by childTest(), parentTest(), and testUnamedSockets(). |
|
|
Definition at line 40 of file UNIXmsg.h. Referenced by closeOtherSocket(), getOtherSock(), UNIXmsg(), and ~UNIXmsg(). |
|
|
Definition at line 39 of file UNIXmsg.h. Referenced by UNIXmsgServer::Accept(), UNIXmsgServer::Bind(), getFD(), recv(), recvNoWait(), send(), UNIXmsg(), UNIXmsgServer::UNIXmsgServer(), and ~UNIXmsg(). |
1.4.4