Displaying 1 result from an estimated 1 matches for "debuggercontroller".
2006 Nov 03
6
How to send data,
...PLE CODE:
require ''osx/cocoa''
require ''eventmachine''
module DebuggerClient
def receive_data(data)
$DEBUG_OUTPUT.received_client_data data
end
def send_command(data)
puts "Trying to send data: #{data}"
send_data data
end
end
module DebuggerController
def receive_data(data)
$DEBUG_OUTPUT.received_controller_data data
end
def send_command(data)
puts "Trying to send data: #{data}"
send_data data
end
end
class Controller < OSX::NSObject
ib_outlets :commandClient, :commandController, :outputClient,
:outputControll...