|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Public Member Functions | |
| __init__ (self) | |
| run (self) | |
| close (self) | |
Public Attributes | |
| s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
| port = self.s.getsockname()[1] | |
| list | got = [] |
A 2.3.0-style service: echoes everything back as a Pong, keepalives included (no reply flag).
Definition at line 293 of file test_keepalive.py.
| test_keepalive._EchoUdp.__init__ | ( | self | ) |
Definition at line 295 of file test_keepalive.py.
| test_keepalive._EchoUdp.close | ( | self | ) |
Definition at line 312 of file test_keepalive.py.
References close(), test_client.UdpEcho.s, s, and test_keepalive.KaUdp.s.
Referenced by close().
| test_keepalive._EchoUdp.run | ( | self | ) |
Definition at line 302 of file test_keepalive.py.
References got, test_keepalive.KaTcp.got, test_keepalive.KaUdp.got, test_keepalive.is_packed(), test_client.UdpEcho.s, s, and test_keepalive.KaUdp.s.
| list test_keepalive._EchoUdp.got = [] |
Definition at line 299 of file test_keepalive.py.
Referenced by run().
| test_keepalive._EchoUdp.port = self.s.getsockname()[1] |
Definition at line 298 of file test_keepalive.py.
| test_keepalive._EchoUdp.s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
Definition at line 296 of file test_keepalive.py.