C# Class Tangerine.Inotify

Afficher le fichier Open project: snorp/tangerine

Méthodes publiques

Свойство Type Description
Verbose bool

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static Filter ( string path, EventType mask ) : EventType
path string
mask EventType
Résultat EventType

IsWatching() public static méthode

public static IsWatching ( string path ) : bool
path string
Résultat bool

Start() public static méthode

public static Start ( ) : void
Résultat void

Stop() public static méthode

public static Stop ( ) : void
Résultat void

Subscribe() public static méthode

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

Subscribe() public static méthode

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

Property Details

Verbose public_oe static_oe property

public static bool Verbose
Résultat bool