CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
psyclone_client.transports Namespace Reference

Classes

class  Transport
class  UdpTransport
class  _StreamTransport
class  TcpTransport
class  WsFrames
class  WebSocketTransport

Functions

 _read_exact (sock, n)
 jittered (base, jitter)

Variables

str _GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"

Detailed Description

Transports for the Psyclone client: UDP, TCP Message (+TLS) and WebSocket (ws/wss), stdlib only.

Function Documentation

◆ _read_exact()

psyclone_client.transports._read_exact ( sock,
n )
protected

◆ jittered()

psyclone_client.transports.jittered ( base,
jitter )
The next reconnect delay: ``base`` spread by +-``jitter`` (0..1), so many clients do not reconnect in step.

Definition at line 26 of file transports.py.

Variable Documentation

◆ _GUID

str psyclone_client.transports._GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
protected

Definition at line 13 of file transports.py.