search for: outputcontrol

Displaying 1 result from an estimated 1 matches for "outputcontrol".

2006 Nov 03
6
How to send data,
...ggerController 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, :outputController def connectToApp(sender) puts ''INFO: Connecting'' # This global var is set to the Controller instance, # this way the connection instances can send the data back to the controller.... $DEBUG_OUTPUT = self begin @connections = Thread.new do...