
Reactor subscribes to events from a Fuse.Channel, decodes them, and converts them into requests on particular file or directory nodes (FileNode or DirNode).
Typical usage for mounting a filesystem:
// select a mount point where the filesystem will be visible string mountPoint = "/tmp/foo"; // Create the filesystem which will handle the requests. Fuse.FileSystem fs = new RawFS.RawFileSystem( "/tmp/foo-raw" ); // create the channel to the FUSE kernel module. Channel channel = new Fuse.Channel( mountPoint, fs ); // create a reactor to dispatch the requests Fuse.Reactor reactor = new Fuse.Reactor(); // subscribe to one or more channels.. reactor.SubscribeTo( channel ); // have channel process events until it is unmounted.. channel.EventLoop();
Public Member Functions | |
| Reactor | SubscribeTo (Channel channel) |
Public Attributes | |
| const int | ENTRY_REVALIDATE_TIME = 1 |
| const int | ATTR_REVALIDATE_TIME = 1 |
|
1.4.3