C# 클래스 Tomboy.Sync.SyncManager

파일 보기 프로젝트 열기: oluc/tomboy 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BackgroundSyncChecker void
CreateNoteInMainThread void
FindNoteByUUID Note
GetConfiguredSyncService Tomboy.Sync.SyncServiceAddin
GetSyncServiceAddin Tomboy.Sync.SyncServiceAddin
GetSynchronizedXmlBits void
HandleNoteBufferChanged void
HandleNoteSavedOrDeleted void
Preferences_SettingChanged void
RecreateNoteInMainThread void
SetState void
SyncManager System
UpdateLocalNote void
UpdateNoteInMainThread void
UpdateSyncAction void

공개 메소드들

메소드 설명
Initialize ( ) : void
PerformSynchronization ( ISyncUI syncUI ) : void
ResetClient ( ) : void
ResolveConflict ( SyncTitleConflictResolution resolution ) : void

The GUI should call this after having the user resolve a conflict so the synchronization thread can continue.

SynchronizationThread ( ) : void

The function that does all of the work TODO: Factor some nice methods out of here; this is just garbage to read right now

SynchronizedNoteXmlMatches ( string noteXml1, string noteXml2 ) : bool

비공개 메소드들

메소드 설명
BackgroundSyncChecker ( ) : void
CreateNoteInMainThread ( NoteUpdate noteUpdate ) : void
FindNoteByUUID ( string uuid ) : Note
GetConfiguredSyncService ( ) : Tomboy.Sync.SyncServiceAddin

Read the preferences and load the specified SyncServiceAddin to perform synchronization.

GetSyncServiceAddin ( string syncServiceId ) : Tomboy.Sync.SyncServiceAddin

Return the specified SyncServiceAddin

GetSynchronizedXmlBits ( string noteXml, string &title, string &tags, string &content ) : void
HandleNoteBufferChanged ( Note note ) : void
HandleNoteSavedOrDeleted ( ) : void
Preferences_SettingChanged ( object sender, EventArgs args ) : void
RecreateNoteInMainThread ( Note existingNote, NoteUpdate noteUpdate ) : void
SetState ( SyncState newState ) : void
SyncManager ( ) : System

/// Emitted when the state of the synchronization changes ///

/// Emmitted when a file is uploaded, downloaded, or deleted. ///

/// ///

UpdateLocalNote ( Note localNote, NoteUpdate serverNote, NoteSyncType syncType ) : void
UpdateNoteInMainThread ( Note existingNote, NoteUpdate noteUpdate ) : void
UpdateSyncAction ( ) : void

메소드 상세

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

PerformSynchronization() 공개 정적인 메소드

public static PerformSynchronization ( ISyncUI syncUI ) : void
syncUI ISyncUI
리턴 void

ResetClient() 공개 정적인 메소드

public static ResetClient ( ) : void
리턴 void

ResolveConflict() 공개 정적인 메소드

The GUI should call this after having the user resolve a conflict so the synchronization thread can continue.
public static ResolveConflict ( SyncTitleConflictResolution resolution ) : void
resolution SyncTitleConflictResolution
리턴 void

SynchronizationThread() 공개 정적인 메소드

The function that does all of the work TODO: Factor some nice methods out of here; this is just garbage to read right now
public static SynchronizationThread ( ) : void
리턴 void

SynchronizedNoteXmlMatches() 공개 정적인 메소드

public static SynchronizedNoteXmlMatches ( string noteXml1, string noteXml2 ) : bool
noteXml1 string
noteXml2 string
리턴 bool