CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
test_client.UdpEcho 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]

Detailed Description

What the Echo service + Simple crank do: copy the message, name the trigger, answer in the same form.

Definition at line 23 of file test_client.py.

Constructor & Destructor Documentation

◆ __init__()

test_client.UdpEcho.__init__ ( self)

Definition at line 25 of file test_client.py.

Member Function Documentation

◆ close()

test_client.UdpEcho.close ( self)

Definition at line 40 of file test_client.py.

References close(), and s.

Referenced by close().

◆ run()

test_client.UdpEcho.run ( self)

Definition at line 31 of file test_client.py.

References test_client.is_packed(), and s.

Member Data Documentation

◆ port

test_client.UdpEcho.port = self.s.getsockname()[1]

Definition at line 28 of file test_client.py.

◆ s

test_client.UdpEcho.s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

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