C# Class Tangerine.Inotify

Datei anzeigen Open project: snorp/tangerine

Public Properties

Property Type Description
Verbose bool

Public Methods

Method Description
Filter ( string path, EventType mask ) : EventType
IsWatching ( string path ) : bool
Start ( ) : void
Stop ( ) : void
Subscribe ( string path, InotifyCallback callback, EventType mask ) : Watch
Subscribe ( string path, InotifyCallback callback, EventType mask, EventType initial_filter ) : Watch

Private Methods

Method Description
AnalyzeQueue_Unlocked ( ) : void
CleanQueue_Unlocked ( ) : void
CreateOrModifyWatch ( WatchInfo watched ) : void
DispatchWorker ( ) : void
Forget ( WatchInfo watched ) : void
HandleMove ( string srcpath, string dstparent, string dstname ) : void
Inotify ( ) : System
Lookup ( int wd, EventType event_type ) : WatchInfo
Main ( string args ) : void
MoveWatch ( WatchInfo watch, string name ) : void
SendEvent ( WatchInfo watched, string filename, string srcpath, EventType mask ) : void
SnarfWorker ( ) : void
Unsubscribe ( WatchInfo watched, WatchInternal watch ) : void
inotify_glue_ignore ( int fd, int wd ) : int
inotify_glue_init ( ) : int
inotify_glue_watch ( int fd, string filename, EventType mask ) : int
inotify_snarf_cancel ( ) : void
inotify_snarf_events ( int fd, int &nr, IntPtr &buffer ) : void

Method Details

Filter() public static method

public static Filter ( string path, EventType mask ) : EventType
path string
mask EventType
return EventType

IsWatching() public static method

public static IsWatching ( string path ) : bool
path string
return bool

Start() public static method

public static Start ( ) : void
return void

Stop() public static method

public static Stop ( ) : void
return void

Subscribe() public static method

public static Subscribe ( string path, InotifyCallback callback, EventType mask ) : Watch
path string
callback InotifyCallback
mask EventType
return System.Threading.Watch

Subscribe() public static method

public static Subscribe ( string path, InotifyCallback callback, EventType mask, EventType initial_filter ) : Watch
path string
callback InotifyCallback
mask EventType
initial_filter EventType
return System.Threading.Watch

Property Details

Verbose public_oe static_oe property

public static bool Verbose
return bool