Attributy: id="EventMachine.Connection"
class Echo < EventMachine::Connection def initialize(*args) super # stuff here... end def receive_data(data) p data send_data data close_connection_after_writing end def unbind p ' connection totally closed' end end