Method: FFWD::TCP::Connection#connection_completed

Defined in:
lib/ffwd/protocol/tcp/connection.rb

#connection_completedObject



86
87
88
89
90
91
92
93
94
95
# File 'lib/ffwd/protocol/tcp/connection.rb', line 86

def connection_completed
  @open = true
  @log.info "Connected tcp://#{peer}"
  @reconnect_timeout = INITIAL_TIMEOUT

  unless @timer.nil?
    @timer.cancel
    @timer = nil
  end
end