Method: Telnet::ClientChannelInitializer#initialize

Defined in:
lib/telnet_client.rb

#initialize(host, port, options = {}) ⇒ ClientChannelInitializer

Returns a new instance of ClientChannelInitializer.



356
357
358
359
360
361
362
363
# File 'lib/telnet_client.rb', line 356

def initialize(host, port, options = {})
  super()
  @host = host
  @port = port
  @options = options
  @decoder = StringDecoder.new
  @encoder = StringEncoder.new
end