class method
self.new
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.new(timeout, socket_path)
No documentation comment.
Parameters
-
timeoutreq -
socket_pathreq
Source
# File railties/lib/commands/ncgi/listener, line 28
def initialize(timeout, socket_path)
@socket = File.expand_path(socket_path)
@mutex = Mutex.new
@active = false
@timeout = timeout
@handler = RailsFCGIHandler.new
@handler.extend DRbUndumped
message 'opening socket'
DRb.start_service("drbunix:#{@socket}", self)
message 'entering process loop'
@handler.process! self
end
Defined in railties/lib/commands/ncgi/listener line 28
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Listener