add_factory


Description:

public void add_factory (string path, owned MediaFactory factory)

Attach factory to the mount point path in this.

path is either of the form (/node)+ or the root path '/'. (An empty path is not allowed.) Any previous mount point will be freed.

Ownership is taken of the reference on factory so that factory should not be used after calling this function.

Parameters:

this

a MountPoints

path

a mount point

factory

a MediaFactory