C# 클래스 GreenQloud.QloudSyncFileSystemWatcher

파일 보기 프로젝트 열기: greenqloud/qloudsync

공개 메소드들

메소드 설명
Block ( string path ) : void
QloudSyncFileSystemWatcher ( LocalRepository repo ) : System
QloudSyncFileSystemWatcher ( String path ) : System
Start ( ) : bool
Start ( ) : void
Stop ( ) : bool
Stop ( ) : void
Unblock ( string path ) : void

비공개 메소드들

메소드 설명
BuildEvent ( EventType type, bool isDirectory, string path, string newPath = null ) : Event
CFArrayCreate ( IntPtr allocator, IntPtr values, int numValues, IntPtr callBacks ) : IntPtr
CFArrayGetValueAtIndex ( IntPtr array, int index ) : IntPtr
CFRelease ( IntPtr cf ) : void
CFRunLoopGetCurrent ( ) : IntPtr
CFRunLoopGetMain ( ) : IntPtr
CFRunLoopRun ( ) : void
CFRunLoopRunInMode ( IntPtr mode, double seconds, int returnAfterSourceHandled ) : int
CFStringCreateWithCString ( IntPtr allocator, string value, int encoding ) : IntPtr
Callback ( IntPtr streamRef, IntPtr clientCallBackInfo, int numEvents, IntPtr eventPaths, IntPtr eventFlags, IntPtr eventIds ) : void
ConvertToDirectoryPathString ( string key ) : string
FSEventStreamCreate ( IntPtr allocator, FSEventStreamCallback callback, IntPtr context, IntPtr pathsToWatch, ulong sinceWhen, double latency, FSEventStreamCreateFlags flags ) : IntPtr
FSEventStreamRelease ( IntPtr streamRef ) : void
FSEventStreamScheduleWithRunLoop ( IntPtr streamRef, IntPtr runLoop, IntPtr runLoopMode ) : void
FSEventStreamStart ( IntPtr streamRef ) : int
FSEventStreamStop ( IntPtr streamRef ) : void
FSEventStreamUnscheduleFromRunLoop ( IntPtr streamRef, IntPtr runLoop, IntPtr runLoopMode ) : void
clearChangeList ( ) : void
clearCreateList ( ) : void
clearDeleteList ( ) : void
clearRenameList ( ) : void
deleteItemFromChangeList ( String path ) : void
deleteItemFromCreateList ( String path ) : void
deleteItemFromDeleteList ( String path ) : void
deleteTMPItemFromCreateList ( String path ) : String
getCreateTMPItem ( String path ) : FSOPCreateVO
getDeleteItem ( String path ) : FSOPDeleteVO
getDeleteItemByName ( String name ) : FSOPDeleteVO
getFirstValidChangeItem ( ) : void
getFirstValidDeleteItem ( ) : FSOPDeleteVO
getFirstValidRenameItem ( ) : FSOPRenameVO
getFirsttmpCreateItem ( ) : FSOPCreateVO
getRenameItem ( String oldPath ) : FSOPRenameVO
handleChangeEvent ( Object sender, FileSystemEventArgs args ) : void
handleCreateEvent ( Object sender, FileSystemEventArgs args ) : void
handleDeleteEvent ( Object sender, FileSystemEventArgs args ) : void
handleFileSystemChange ( Object sender, ElapsedEventArgs args ) : void
handleRenameEvent ( Object sender, RenamedEventArgs args ) : void
processChanges ( ) : void

메소드 상세

Block() 공개 메소드

public Block ( string path ) : void
path string
리턴 void

QloudSyncFileSystemWatcher() 공개 메소드

public QloudSyncFileSystemWatcher ( LocalRepository repo ) : System
repo LocalRepository
리턴 System

QloudSyncFileSystemWatcher() 공개 메소드

public QloudSyncFileSystemWatcher ( String path ) : System
path String
리턴 System

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

Unblock() 공개 메소드

public Unblock ( string path ) : void
path string
리턴 void