C# 클래스 CmisSync.Lib.Queueing.ConnectionScheduler

Connection scheduler.
상속: SyncEventHandler, IConnectionScheduler
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
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