class OSC::EMServer

Public Instance Methods

open() click to toggle source
# File lib/patch/em_patch.rb, line 10
def open
  EM::open_datagram_socket("0.0.0.0", @port, Connection)
end
remove_method(address_pattern) click to toggle source
# File lib/patch/em_patch.rb, line 14
def remove_method(address_pattern)
  matcher = AddressPattern.new( address_pattern )

  @tuples.delete_if { |pattern, proc| pattern == matcher }
end
run() click to toggle source
# File lib/patch/em_patch.rb, line 6
def run
  open
end