Class: LogPorter::Server::DefaultHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/logporter/server/defaulthandler.rb

Instance Method Summary collapse

Instance Method Details

#receive_event(event, server, client_addr, client_port) ⇒ Object



6
7
8
# File 'lib/logporter/server/defaulthandler.rb', line 6

def receive_event(event, server, client_addr, client_port)
  puts "#{client_addr}:#{client_port}(#{server.network}/#{server.wire}) => #{event}"
end