Module: Mikrotik::Connection

Defined in:
lib/mikrotik/connection.rb

Overview

Contains logic for sending and receiving data to and from the device

Instance Method Summary collapse

Instance Method Details

#disconnectObject

Disconnects from the device



16
17
18
19
20
# File 'lib/mikrotik/connection.rb', line 16

def disconnect
  Mikrotik.debug [:connection, :disconnect]
  @closing = true
  close_connection(true)
end