Class: Modbus::Connection::TCPServer

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/modbus/connection/tcp_server.rb

Instance Method Summary collapse

Methods inherited from Base

#analyze_buffer, #initialize, #receive_data, #reset_buffer

Constructor Details

This class inherits a constructor from Modbus::Connection::Base

Instance Method Details

#post_initObject



16
17
18
# File 'lib/modbus/connection/tcp_server.rb', line 16

def post_init
  @handler.client_connected signature
end

#unbindObject



21
22
23
# File 'lib/modbus/connection/tcp_server.rb', line 21

def unbind
  @handler.client_disconnected signature
end