Communication Status

class ska_control_model.CommunicationStatus(value)

The status of communication with the system under controk.

DISABLED = 0

Communication is disabled.

The control system is not trying to establish/maintain a channel of communication with the system under control. For example:

  • if communication with the system under control is connection-oriented, then there is no connection, and the control system is not trying to establish a connection.

  • if communication is by event subscription, then the control system is unsubscribed from events.

  • if communication is by polling, then the control system is not performing that polling.

ESTABLISHED = 2

The control system has established a channel of communication with the system under control. For example:

  • if communication with the system under control is connection-oriented, then the control system has connected to the system under control.

  • if communication is by polling, then the control system is polling the system under control, and the system under control is responsive.

NOT_ESTABLISHED = 1

Communication is sought but not established.

The control system is trying to establish/maintain a channel of communication with the system under control, but that channel is not currently established. For example:

  • if communication with the system under control is connection-oriented, then the control system has not yet succeeded in establishing the connection, or the connection has been broken.

__new__(value)