Readonly connectedTimestamp of the connection since it has been established.
M.Karkowski
INopeConnectivityManager
Mapping for the External Dispatchers. You can use the Event, onChange, to get the latest changes. Use the "data" field, to subscribe for the latest data.
OriginalKey = Dispatcher ID`OriginalValue = INopeStatusInfoExtractedKey = Dispatcher IDExtractedValue = Dispatcher IDM.Karkowski
INopeStatusManager
Readonly idThe utilized ID, which will be used for the Status Messages etc.
M.Karkowski
INopeStatusManager
Readonly infoThe current info of this connectivity-manager.
M.Karkowski
INopeConnectivityManager
Flag, showing, that we
M.Karkowski
INopeDispatcher
Readonly masterReturns the Status of the Master.
M.Karkowski
INopeConnectivityManager
Readonly nowReturns the current timestamp.
M.Karkowski
INopeConnectivityManager
Options of the StatusManager.
M.Karkowski
INopeStatusManager
Flag, to show, that the System is ready
M.Karkowski
INopeStatusManager
Readonly upThe time since the systeme is connected.
M.Karkowski
INopeConnectivityManager
Returns the Status of an other Manager.
M.Karkowski
{INopeStatusInfo}
INopeStatusManager
Adapts the Timing Options and resets the internally used Timers etc.
M.Karkowski
INopeStatusManager
Helper function, which will synchronize the Timestamp. Timestamp must be provided in UTC (https://www.timeanddate.de/stadt/info/zeitzone/utc)
M.Karkowski
INopeStatusManager
The UTC-Timestamp
Optional delay: numberThe Delay, since the Timestamp has been generated
Generated using TypeDoc
A
connectivityManagerobserves the connection to various dispatchers. This element displays all found dispatchers in the network (if there are no others only itself) in thedispatchersproperty. It manages the status (dead,slow,warn,alive) of the other dispatchers.The manager uses a
bridgeICommunicationBridge to search for new dispatchers. When a link layer connection is established via the bridge, a so-calledbonjourmessage is sent. With this message alldispatchersin a network register themselves. If such a message is sent, all other dispatchers report their current status. Thus all dispatchers are known to each other.The
connectivityManagerchecks their status time-based. To do this, all ConnectivityManagerssend each other alivemessage (aheartbeat`) defined time interval. This can be used to monitor when a dispatcher last checked in. If this exceeds a certain time interval, that dispatcher is first classified as 'slow' and then as 'dead'. If the dispatcher does not check in after a defined time interval, it is removed.The described changes can be observed using the
dispatchersproperty.In addition, the
connectivityManagerallows synchronization of timestamps with other systems (usually other dispatchers). This is useful when different systems store sensor data, for example. The timestamp is calculated with a delay, which can be determined during pings.nowproperty.The
connectivityManagerprovides properties that simplify the collection of some information:getStatusto get the status of a particular dispatcher.getAllHosts: to get all hosts on the network. (It is possible that several nope runtimes are running on the same host)upTime: since when the Connectivity Manager is running.Sometimes it is useful to define a
masterin the network with nope runtime, (e.g. time synchronization). For this the flagmastercan be set totrueorfalse. This sets the master mode of theconnectivityManagermanually. If it is set tonull, the master is determined automatically and theconnectivityManagercould be a master. The selection of the master is based on the operation time and the connection time.