PERFORMING AN ACTION IN RESPONSE TO A FILE SYSTEM EVENT
    1.
    发明申请
    PERFORMING AN ACTION IN RESPONSE TO A FILE SYSTEM EVENT 有权
    执行对文件系统事件的响应中的操作

    公开(公告)号:US20110137963A1

    公开(公告)日:2011-06-09

    申请号:US13026131

    申请日:2011-02-11

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30067 G06F9/542

    摘要: A method and apparatus for performing an action in response to a file system event is provided. According to one aspect, sets of “event listeners” are associated with a file hierarchy and/or the nodes thereof. Each event listener contains a set of “event handlers.” Each event handler corresponds to a separate type of event that may occur relative to the file hierarchy's nodes. When an event is going to occur relative to the hierarchy or a node thereof, all event listeners that are associated with that hierarchy/node are inspected to determine whether those event listeners contain any event handlers that correspond to the event's type. Those event handlers that correspond to the event's type are placed in an ordered list of event handlers to be invoked. As the event handlers in the list are invoked, programmatic mechanisms that correspond to those event handlers are executed to perform customized user-specified actions.

    摘要翻译: 提供了一种用于响应于文件系统事件执行动作的方法和装置。 根据一个方面,“事件监听器”的集合与文件层级和/或其节点相关联。 每个事件监听器包含一组“事件处理程序”。每个事件处理程序对应于可能相对于文件层次结构节点发生的单独的事件类型。 当相对于层级或其节点将发生事件时,检查与该层级/节点相关联的所有事件监听器,以确定这些事件监听器是否包含与事件类型相对应的任何事件处理程序。 与事件类型相对应的事件处理程序被放置在要调用的事件处理程序的有序列表中。 在列表中的事件处理程序被调用时,执行与那些事件处理程序相对应的程序化机制来执行定制的用户指定的操作。