golf_federated.server.communication.sse package

Submodules

golf_federated.server.communication.sse.schedule module

golf_federated.server.communication.sse.schedule.publish_stop_train(host: str, port: str, db: int) → None[source]

Publish ‘StopTrain’ info.

Args:

host (str): Host name to connect to the SSE host. port (str): Port number to connect to the SSE host. db (int): Adopted Database.

golf_federated.server.communication.sse.schedule.publish_task_init(host: str, port: str, db: int) → None[source]

Publish ‘TaskInit’ info.

Args:

host (str): Host name to connect to the SSE host. port (str): Port number to connect to the SSE host. db (int): Adopted Database.

golf_federated.server.communication.sse.schedule.publish_update_model(host: str, port: str, db: int) → None[source]

Publish ‘UpdateModel’ info.

Args:

host (str): Host name to connect to the SSE host. port (str): Port number to connect to the SSE host. db (int): Adopted Database.

golf_federated.server.communication.sse.schedule.server_sent_event(host: str, port: str, db: int)[source]

SSE for proactive server publishes messages.

Args:

host (str): Host name to connect to the SSE host. port (str): Port number to connect to the SSE host. db (int): Adopted Database.

Module contents