CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
test_keepalive.KaTcp Class Reference

Public Member Functions

 __init__ (self)
 run (self)
 serve (self, c)
 close (self)

Public Attributes

 srv = socket.socket()
 port = self.srv.getsockname()[1]
 clients
 accepted
list mute = [], 0, False
list got = []

Detailed Description

Definition at line 70 of file test_keepalive.py.

Constructor & Destructor Documentation

◆ __init__()

test_keepalive.KaTcp.__init__ ( self)

Definition at line 71 of file test_keepalive.py.

Member Function Documentation

◆ close()

test_keepalive.KaTcp.close ( self)

◆ run()

◆ serve()

test_keepalive.KaTcp.serve ( self,
c )

Member Data Documentation

◆ accepted

test_keepalive.KaTcp.accepted

Definition at line 77 of file test_keepalive.py.

Referenced by run().

◆ clients

◆ got

list test_keepalive.KaTcp.got = []

Definition at line 78 of file test_keepalive.py.

Referenced by test_keepalive._EchoUdp.run(), and serve().

◆ mute

list test_keepalive.KaTcp.mute = [], 0, False

Definition at line 77 of file test_keepalive.py.

Referenced by serve().

◆ port

test_keepalive.KaTcp.port = self.srv.getsockname()[1]

Definition at line 76 of file test_keepalive.py.

◆ srv

test_keepalive.KaTcp.srv = socket.socket()

Definition at line 72 of file test_keepalive.py.

Referenced by close(), and run().


The documentation for this class was generated from the following file: