C# Класс CmisSync.Lib.Queueing.ConnectionScheduler

Connection scheduler.
Наследование: SyncEventHandler, IConnectionScheduler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Connect ( ) : bool

Connect this instance.

ConnectionScheduler ( ConnectionScheduler original ) : System

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

Приватные методы

Метод Описание
Reconnect ( ) : void

Описание методов

Connect() защищенный Метод

Connect this instance.
protected Connect ( ) : bool
Результат bool

ConnectionScheduler() защищенный Метод

Initializes a new instance of the CmisSync.Lib.Queueing.ConnectionScheduler class by copy all members.
protected ConnectionScheduler ( ConnectionScheduler original ) : System
original ConnectionScheduler Original Instance.
Результат System

ConnectionScheduler() публичный Метод

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.
Результат System

Dispose() публичный Метод

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
Результат void

Handle() публичный Метод

Handles repository configuration change events by extracting new login informations and returns false
public Handle ( ISyncEvent e ) : bool
e ISyncEvent The event to handle.
Результат bool

Start() публичный Метод

Start this instance.
public Start ( ) : void
Результат void