case classWatch(directory: String = "/dev", skipInitial: Boolean = false) extends Command with Product with Serializable
Watch a directory for new ports.
Send this command to the manager to get notifications when a new port (i.e. file) is created in
the given directory.
In case the given directory cannot be watched, the manager responds with a CommandFailed message.
Note: the sender is also notified of currently existing ports.
directory
the directory to watch
skipInitial
don't get notified of already existing ports
See also
Connected
Unwatch
Linear Supertypes
Serializable, Serializable, Product, Equals, Command, Message, AnyRef, Any
Watch a directory for new ports.
Send this command to the manager to get notifications when a new port (i.e. file) is created in the given directory. In case the given directory cannot be watched, the manager responds with a
CommandFailed
message.Note: the sender is also notified of currently existing ports.
the directory to watch
don't get notified of already existing ports
Connected
Unwatch