ScheduleDeviceExt

Overview

Schedule device extensions manage remote schedule synchronization.  A subordinate schedule is a read-only copy of a supervisor schedule.  Subordinate schedules must be children of the schedule device extension.

Refer to the javax.baja.schedule.driver API.

BScheduleDeviceExt

Container of supervisor schedule export descriptors  and subordinate schedules. 

Subscription
At a random time after station startup and within the subscribeWindow property value, all subordinate schedules who have not communicated with their supervisor will have their execute action invoked.  For drivers where remote supervisors do not persist information about local subordinates, the subscribe window should be some small value rather than the default of a day.

Retries
Periodically the execute action of all BScheduleExports and BScheduleImportExts who are in fault is invoked.  The retry interval is controlled by the retryTrigger property.

Subclasses

BScheduleExport

Maps a local supervisor to a remote subordinate.  Will be a child of a BScheduleDeviceExt.

Execution
The execute action is where the the local supervisor schedule configuration is sent to the remote subordinate.  It is only invoked if the local supervisor schedule has been modified since the last time it was sent to the remote subordinate.  The executionTime property controls when the local supervisor version is compared to the remote subordinate.

Subclasses

BScheduleImportExt

Maps a local subordinate to a remote supervisor.  Will be a child of the subordinate schedule.

Execution
The execute action is where the local subordinate makes a request to the remote supervisor for a configuration update.  The executionTime property controls when execute is invoked but it is turned off by default.  Since BScheduleImportExt.execute will always result in a message to the remote supervisor, it is more efficient to have the supervisor push changes only when necessary.

When the schedule device extension performs subscription, it is simply invoking the execute action on BScheduleImportExt.

Subclasses

BScheduleExportManager

This is the manager view for local supervisor schedules.  This is a convenience and can be ignored.

Subclasses

BScheduleImportManager

This is the manager view for local subordinate schedules.  This is a convenience and can be ignored.

Subclasses