Class: OSC::EMServer

Inherits:
Object
  • Object
show all
Defined in:
lib/diamond/osc.rb

Instance Method Summary collapse

Instance Method Details

#openObject


76
77
78
# File 'lib/diamond/osc.rb', line 76

def open
  EM::open_datagram_socket("0.0.0.0", @port, Connection)
end

#runObject


72
73
74
# File 'lib/diamond/osc.rb', line 72

def run
  open
end