Click or drag to resize

RemoteJobManager Class

A job management service which is just chained to the central server
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.Services.RemoteRemoteJobManager

Namespace:  SanteDB.DisconnectedClient.Services.Remote
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public class RemoteJobManager : IJobManagerService, 
	IDaemonService, IServiceImplementation

The RemoteJobManager type exposes the following members.

Constructors
  NameDescription
Public methodRemoteJobManager
Initializes a new instance of the RemoteJobManager class
Top
Properties
  NameDescription
Public propertyIsRunning
Returns true if the job manager is running
Public propertyJobs
Gets the jobs which can be executed on the management service
Public propertyServiceName
Gets the service name
Top
Methods
  NameDescription
Public methodAddJob(IJob, JobStartType)
Add a job to the job manager
Public methodAddJob(IJob, TimeSpan, JobStartType)
Add a job to the job manager
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetJobInstance
Get the job instance
Public methodGetJobSchedules
Get the specified job's schedule
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsJobRegistered
Get whether the job is registered
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetJobSchedule(IJob, TimeSpan)
Schedule a job to repeat on an interval
Public methodSetJobSchedule(IJob, DayOfWeek, DateTime)
Set job schedule for the BI repository
Public methodStart
Start the service
Public methodStartJob(IJob, Object)
Start a job
Public methodStartJob(Type, Object)
Start a job
Public methodStop
Stop the service
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventStarted
Fired when the service is started
Public eventStarting
Fired when the service is starting
Public eventStopped
Fired when the service has stopped
Public eventStopping
Fired when the service is stopping
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also