# File lib/net/ssh/connection/session.rb, line 62 62: def initialize(transport, options={}) 63: self.logger = transport.logger 64: 65: @transport = transport 66: @options = options 67: 68: @channel_id_counter = -1 69: @channels = Hash.new(NilChannel.new(self)) 70: @listeners = { transport.socket => nil } 71: @pending_requests = [] 72: @channel_open_handlers = {} 73: @on_global_request = {} 74: @properties = (options[:properties] || {}).dup 75: end