C# 클래스 mybox.DirectoryWatcher

Class for watching a directory for updates
파일 보기 프로젝트 열기: jonocodes/mybox 1 사용 예제들

공개 메소드들

메소드 설명
DirectoryWatcher ( String _dir, ClientServerConnection _client ) : System
Listen ( ) : void

Enable the event raiser for the update listener

Pause ( ) : void

Disable the event raiser for the update listener

비공개 메소드들

메소드 설명
onChanged ( object source, FileSystemEventArgs e ) : void

Handler for directory or file change update

onRenamed ( object source, RenamedEventArgs e ) : void
run ( ) : void

Dummy loop for the listener thread

start ( ) : void

메소드 상세

DirectoryWatcher() 공개 메소드

public DirectoryWatcher ( String _dir, ClientServerConnection _client ) : System
_dir String
_client ClientServerConnection
리턴 System

Listen() 공개 메소드

Enable the event raiser for the update listener
public Listen ( ) : void
리턴 void

Pause() 공개 메소드

Disable the event raiser for the update listener
public Pause ( ) : void
리턴 void