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

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 = []

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

test_keepalive._EchoUdp.__init__ ( self)

Definition at line 295 of file test_keepalive.py.

Member Function Documentation

◆ close()

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().

◆ run()

test_keepalive._EchoUdp.run ( self)

Member Data Documentation

◆ got

list test_keepalive._EchoUdp.got = []

Definition at line 299 of file test_keepalive.py.

Referenced by run().

◆ port

test_keepalive._EchoUdp.port = self.s.getsockname()[1]

Definition at line 298 of file test_keepalive.py.

◆ s

test_keepalive._EchoUdp.s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

Definition at line 296 of file test_keepalive.py.

Referenced by close(), and run().


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