Table Of Contents

Previous topic

ginsfsm.examples.stress_connections

Next topic

ginsfsm.examples.stress_server_echo

ginsfsm.examples.stress_client_echo

GObj OnClient

Stress with many connections and many data.

To run against ginsfsm.examples.stress_server_echo

The server echo the data.

It uses ginsfsm.c_connex.GConnex.

class ginsfsm.examples.essential_gobjs.stress_client_echo.OnClient[source]

Client GObj.

Configurable Parameters:
Name Type Default value Description
connections int 0 Limit of connections to be reached.
host str 127.0.0.1 Port.
verbose int 0 Increase output verbosity. Values [0,1,2]
port int 8000 Port.
Diagram:

Input-Events:

  • 'EV_TIMEOUT': Timer over.

    Start the machine.

  • 'EV_CONNECTED': New client.

  • 'EV_DISCONNECTED': Client disconnected.

  • 'EV_RX_DATA': Receiving data.

Output-Events:

  • 'EV_START_TIMER': Start timer.