class backendHandler : Directfifowatcher.base_pathname -> Frontend.frontendHandler list ->
object
.. end
The backendhandler class: defines event handlers for events in
the backend backend directory.
dir_root
: The location of the backend in the server context (eg. root context for vservers)
val file_regexp : Str.regexp
Regular expression that defines a legal script name. Filter out
* temporary files using it
val acl_file_regexp : Str.regexp
method private new_dir : Frontend.frontendHandler list ->
Directfifowatcher.base_pathname ->
(Inotify.wd ->
Directfifowatcher.base_pathname ->
Inotify.type_event list -> Directfifowatcher.base_pathname -> unit) ->
unit
Somebody created a new directory
method private new_script : Frontend.frontendHandler list -> Directfifowatcher.base_pathname -> unit
Somebody copied in a new script
method private make_filter : string -> (Directfifowatcher.slice_name, bool) Hashtbl.t option
method is_acl : string -> bool
method handle_dir_event : Inotify.wd ->
Directfifowatcher.base_pathname ->
Inotify.type_event list -> Directfifowatcher.base_pathname -> unit
Gets called every time there's an inotify event at the backend
dirname
: Name of the backend directory
evlist
: Description of what happened
fname
: Name of the file that the event applies to