Method: Pmux::Handler#initialize

Defined in:
lib/pmux/handler.rb

#initialize(server = nil, options = {}) ⇒ Handler

Returns a new instance of Handler.



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/pmux/handler.rb', line 8

def initialize server=nil, options={}
  @server = server
  @options = options
  @ipaddr = options[:ipaddr]

  @wtq = []
  @wq = []
  @ases = {}
  @msession = nil
  @seqid = 0
end