ScinServerStatusPoller, on initialization, no longer automatically creates its OSCFunc/SkipJack. The creation of these monitoring objects is deferred until the start instance method is called on the ScinServerStatusPoller.
This fixes what appears to be a race condition when creating an OSCFunc during class tree initialization, and also prevents the ScinServerStatusPoller from being broken by a CmdPeriod call between instantiation of the server and booting of the server. It does not yet make the StatusPoller entirely impervious to CmdPeriod.
Purpose and motivation
Fix #172.
Implementation
ScinServerStatusPoller, on initialization, no longer automatically creates its OSCFunc/SkipJack. The creation of these monitoring objects is deferred until the
start
instance method is called on the ScinServerStatusPoller.This fixes what appears to be a race condition when creating an OSCFunc during class tree initialization, and also prevents the ScinServerStatusPoller from being broken by a CmdPeriod call between instantiation of the server and booting of the server. It does not yet make the StatusPoller entirely impervious to CmdPeriod.
Types of changes
Status