Class Listen::Adapters::BSD
In: lib/listen/adapters/bsd.rb
Parent: Adapter

Listener implementation for BSD‘s `kqueue`.

Methods

new   start   stop   usable?  

Constants

EVENTS = [ :delete, :write, :extend, :attrib, :link, :rename, :revoke ]   Watched kqueue events

@see www.freebsd.org/cgi/man.cgi?query=kqueue @see github.com/nex3/rb-kqueue/blob/master/lib/rb-kqueue/queue.rb

Public Class methods

Initializes the Adapter. See {Listen::Adapter#initialize} for more info.

Checks if the adapter is usable on the current OS.

@return [Boolean] whether usable or not

Public Instance methods

Starts the adapter.

@param [Boolean] blocking whether or not to block the current thread after starting

Stops the adapter.

[Validate]