VideoOS.Platform.Background Namespace Reference

Classes

class  BackgroundPlugin
 A background plugin will be started during application start and be running until the user logs off or application terminates.
The Environment will call the methods Init() and Close() when the user login and logout, so the background task can flush any cached information.
Don't read the plugin configuration in the Init() method, as it is not guaranteed to be ready at this time. Instead listen for the message with MessageId == Server.ConfigurationChangedIndication and load the configuration once this is received. It will be sent once configuration is ready and also no later than 60 seconds after configuration has been changed by the administrator.
The base class implementation of the LoadProperties can get a set of configuration, e.g. the configuration saved by the Options Dialog in the Smart Client or a configuration set saved in one of the administrators.
Identification of which configuration to get is done via the GUID.
The SaveProperties method can be used if updating of configuration is relevant.
The configuration is stored on the server the application is logged into, and should be refreshed when the ApplicationLoggedOn method is called. Configuration can be user private or shared with all users.

Notice: For a plugin to be loaded and executed in the Event Server, at least one BackgroundPlugin MUST be defined. More...
 
class  EventServerControl
 This class only exist in the EventServer MIP Environment. More...