Table Of Contents

Previous topic

ginsfsm.examples.stress_client_echo

Next topic

ginsfsm.examples.wsgi_server

ginsfsm.examples.stress_server_echo

GObj OnServer

Stress with many connections and many data.

To run with ginsfsm.examples.stress_client_echo

The server echo the data.

It uses ginsfsm.c_srv_sock.GServerSock.

class ginsfsm.examples.essential_gobjs.stress_server_echo.OnServer[source]

Server GObj.

Configurable Parameters:
Name Type Default value Description
verbose int 1 Increase output verbosity. Values [0,1,2]
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.