C# Class CmisSync.Lib.Queueing.ConnectionScheduler

Connection scheduler.
Inheritance: SyncEventHandler, IConnectionScheduler
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
ConnectionScheduler ( RepoInfo repoInfo, ISyncEventQueue queue, ISessionFactory sessionFactory, IAuthenticationProvider authProvider, int interval = 5000 ) : System

Initializes a new instance of the CmisSync.Lib.Queueing.ConnectionScheduler class.

Dispose ( ) : void

Releases all resource used by the CmisSync.Lib.Queueing.SyncScheduler object.

Call Dispose when you are finished using the CmisSync.Lib.Queueing.SyncScheduler. The Dispose method leaves the CmisSync.Lib.Queueing.SyncScheduler in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.Queueing.SyncScheduler so the garbage collector can reclaim the memory that the CmisSync.Lib.Queueing.SyncScheduler was occupying.

Handle ( ISyncEvent e ) : bool

Handles repository configuration change events by extracting new login informations and returns false

Start ( ) : void

Start this instance.

Méthodes protégées

Méthode Description
Connect ( ) : bool

Connect this instance.

ConnectionScheduler ( ConnectionScheduler original ) : System

Initializes a new instance of the CmisSync.Lib.Queueing.ConnectionScheduler class by copy all members.

Private Methods

Méthode Description
Reconnect ( ) : void

Method Details

Connect() protected méthode

Connect this instance.
protected Connect ( ) : bool
Résultat bool

ConnectionScheduler() protected méthode

Initializes a new instance of the CmisSync.Lib.Queueing.ConnectionScheduler class by copy all members.
protected ConnectionScheduler ( ConnectionScheduler original ) : System
original ConnectionScheduler Original Instance.
Résultat System

ConnectionScheduler() public méthode

Initializes a new instance of the CmisSync.Lib.Queueing.ConnectionScheduler class.
public ConnectionScheduler ( RepoInfo repoInfo, ISyncEventQueue queue, ISessionFactory sessionFactory, IAuthenticationProvider authProvider, int interval = 5000 ) : System
repoInfo CmisSync.Lib.Config.RepoInfo Repo info.
queue ISyncEventQueue Event queue.
sessionFactory ISessionFactory Session factory.
authProvider IAuthenticationProvider Auth provider.
interval int Retry interval in msec.
Résultat System

Dispose() public méthode

Releases all resource used by the CmisSync.Lib.Queueing.SyncScheduler object.
Call Dispose when you are finished using the CmisSync.Lib.Queueing.SyncScheduler. The Dispose method leaves the CmisSync.Lib.Queueing.SyncScheduler in an unusable state. After calling Dispose, you must release all references to the CmisSync.Lib.Queueing.SyncScheduler so the garbage collector can reclaim the memory that the CmisSync.Lib.Queueing.SyncScheduler was occupying.
public Dispose ( ) : void
Résultat void

Handle() public méthode

Handles repository configuration change events by extracting new login informations and returns false
public Handle ( ISyncEvent e ) : bool
e ISyncEvent The event to handle.
Résultat bool

Start() public méthode

Start this instance.
public Start ( ) : void
Résultat void