Displaying 2 results from an estimated 2 matches for "data_received".
2006 May 22
3
core-model-2
I''ve added experiments/core-model-2 to SVN. I think this is pretty clean and
satisfactory. Jeff, please have a look and see if you like the placement of
timeouts (which are currently unimplemented). Any event now has the
possibility of a timeout. To get an application-level timeout, you''d just
post an event with a timeout to a nil target. When the timeout expires, the
errback
2006 Nov 03
6
How to send data,
...Thread.current[:controller] = EventMachine::connect
"localhost", 8990, DebuggerController
}
end
rescue
@outputClient.setString ''Unable to connect...''
@outputController.setString ''Unable to connect...''
end
end
# A data_received event has occured
def received_client_data(data)
@outputClient.setString data
end
def received_controller_data(data)
@outputController.setString data
end
# Send the command to the debugger
def send_client_command(command)
@connections[:client].send_command command.to_s
end...