--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Starts a listener block. This is the only one that actually takes a block and then you make Configurator.uri calls in order to setup your URIs and handlers. If you write your Handlers as GemPlugins then you can use load_plugins and plugin to load them.
- !ruby/struct:SM::Flow::P 
  body: "It expects the following options (or defaults):"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":host =&gt; Host name to bind."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":port =&gt; Port to bind."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":num_processors =&gt; The maximum number of concurrent threads allowed."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":throttle =&gt; Time to pause (in hundredths of a second) between accepting clients."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":timeout =&gt; Time to wait (in seconds) before killing a stalled thread."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":user =&gt; User to change to, must have :group as well."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: ":group =&gt; Group to change to, must have :user as well."
  type: :BULLET
full_name: Mongrel::Configurator#listener
is_singleton: false
name: listener
params: (options={},&block)
visibility: public
