|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Public Member Functions | |
| __init__ (self) | |
| run (self) | |
| serve (self, c) | |
| drop_all (self) | |
| close (self) | |
Public Attributes | |
| srv = socket.socket() | |
| port = self.srv.getsockname()[1] | |
| list | clients |
| list | accepted = [], 0 |
Definition at line 44 of file test_client.py.
| test_client.TcpEcho.__init__ | ( | self | ) |
Definition at line 45 of file test_client.py.
| test_client.TcpEcho.close | ( | self | ) |
Definition at line 89 of file test_client.py.
References close(), drop_all(), and srv.
Referenced by close().
| test_client.TcpEcho.drop_all | ( | self | ) |
Definition at line 80 of file test_client.py.
References cmlabs::RequestGateway.clients, and clients.
Referenced by close().
| test_client.TcpEcho.run | ( | self | ) |
Definition at line 53 of file test_client.py.
References accepted, cmlabs::RequestGateway.clients, clients, serve(), and srv.
| test_client.TcpEcho.serve | ( | self, | |
| c ) |
Definition at line 63 of file test_client.py.
Referenced by run(), and test_keepalive.KaTcp.run().
| list test_client.TcpEcho.accepted = [], 0 |
Definition at line 50 of file test_client.py.
Referenced by run(), and test_keepalive.KaTcp.run().
| list test_client.TcpEcho.clients |
Definition at line 50 of file test_client.py.
Referenced by test_keepalive.KaTcp.close(), drop_all(), test_remote_module.Live.keep(), test_remote_module_dynamic.Live.keep(), run(), test_keepalive.KaTcp.run(), test_remote_module.Live.tearDown(), and test_remote_module_dynamic.Live.tearDown().
| test_client.TcpEcho.port = self.srv.getsockname()[1] |
Definition at line 49 of file test_client.py.
| test_client.TcpEcho.srv = socket.socket() |
Definition at line 46 of file test_client.py.
Referenced by close(), test_keepalive.KaTcp.close(), run(), and test_keepalive.KaTcp.run().