class Blather::FileTransfer::S5b::SocketConnection

@private

Public Class Methods

new(host, port, handler, *params) click to toggle source
Calls superclass method
# File lib/blather/file_transfer/s5b.rb, line 92
def initialize(host, port, handler, *params)
  super(host, port)
  @@handler = handler
  @params = params
end

Public Instance Methods

post_init() click to toggle source
# File lib/blather/file_transfer/s5b.rb, line 98
def post_init
  self.succeed

  class << self
    include @@handler
  end
  send(:initialize, *@params)
  post_init
end
unbind() click to toggle source
# File lib/blather/file_transfer/s5b.rb, line 108
def unbind
  self.fail if @socks_state != :connected
end