Class Rev::Listener
In: lib/rev/listener.rb
Parent: IOWatcher

Listeners wait for incoming connections. When a listener receives a connection it fires the on_connection event with the newly accepted socket as a parameter.

Methods

Public Class methods

Public Instance methods

Close the listener

Called whenever the server receives a new connection

Protected Instance methods

Rev callback for handling new connections

[Validate]