C# Class System.IO.KqueueMonitor

Inheritance: IDisposable
Datei anzeigen Open project: vargaz/mono Class Usage Examples

Public Methods

Method Description
CleanUp ( ) : void
Dispose ( ) : void
DoMonitor ( ) : void
KqueueMonitor ( FileSystemWatcher fsw ) : System
Monitor ( ) : void
PostEvent ( FileAction action, string path, string newPath = null ) : void
Remove ( PathData pathData ) : void
RemoveTree ( PathData pathData ) : void
Scan ( string path, bool postEvents, List &fds ) : void
Setup ( ) : void
Start ( ) : void
Stop ( ) : void
UpdatePath ( PathData pathData ) : void

Private Methods

Method Description
Add ( string path, bool postEvents, List &fds ) : PathData
CreateChangeList ( List &FdList ) : System.IO.kevent[]
GetFilenameFromFd ( int fd ) : string
close ( int fd ) : int
fcntl ( int file_names_by_descriptor, int cmd, StringBuilder sb ) : int
kevent ( int kq, [ ev, int nchanges, [ evtlist, int nevents, [ time ) : int
kqueue ( ) : int
open ( string path, int flags, int mode_t ) : int

Method Details

CleanUp() public method

public CleanUp ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoMonitor() public method

public DoMonitor ( ) : void
return void

KqueueMonitor() public method

public KqueueMonitor ( FileSystemWatcher fsw ) : System
fsw FileSystemWatcher
return System

Monitor() public method

public Monitor ( ) : void
return void

PostEvent() public method

public PostEvent ( FileAction action, string path, string newPath = null ) : void
action FileAction
path string
newPath string
return void

Remove() public method

public Remove ( PathData pathData ) : void
pathData PathData
return void

RemoveTree() public method

public RemoveTree ( PathData pathData ) : void
pathData PathData
return void

Scan() public method

public Scan ( string path, bool postEvents, List &fds ) : void
path string
postEvents bool
fds List
return void

Setup() public method

public Setup ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

UpdatePath() public method

public UpdatePath ( PathData pathData ) : void
pathData PathData
return void