# File lib/net/ssh/service/forward/driver.rb, line 39 def initialize( connection, buffers, log, handlers ) @connection = connection @buffers = buffers @log = log @handlers = handlers @local_forwards = Hash.new @remote_forwards = Hash.new @direct_channel_count = 0 @open_direct_channel_count = 0 @connection.add_channel_open_handler( "forwarded-tcpip", &method(:do_open_channel) ) end