Class EventMachine::Connection
In: lib/cool.io/eventmachine.rb
Parent: Object

Methods

Public Class methods

Public Instance methods

Close the connection, optionally after writing

Close the connection after all data has been written

Callback fired when data is received def receive_data(data); end

we will need to call ‘their functions’ appropriately — the commented out ones, here

Callback fired when connection is created

Send data to the current connection — called by them

Callback fired when connection is closed

[Validate]