edu.stanford.hci.dtools.hardware
Class UdpInputDispatcher

java.lang.Object
  extended by edu.stanford.hci.dtools.hardware.HardwareInputDispatcher
      extended by edu.stanford.hci.dtools.hardware.UdpInputDispatcher
All Implemented Interfaces:
OSCListener

public class UdpInputDispatcher
extends HardwareInputDispatcher

Listen to incoming OSC messages on a UDP port and fire off HardwareEvents to notify other objects of these messages.

This software is distributed under the BSD License.

Author:
Scott Klemmer ( srk(AT)cs.stanford.edu ), Bjoern Hartmann ( bjoern(AT)stanford.edu )

Constructor Summary
UdpInputDispatcher()
           
 
Method Summary
 void addOscListener(java.lang.String hardwareAddress)
           
 boolean changeOscListener(java.lang.String oldAddress, java.lang.String newAddress)
           
 void disconnect()
           
 boolean removeOscListener(java.lang.String hardwareAddress)
           
 
Methods inherited from class edu.stanford.hci.dtools.hardware.HardwareInputDispatcher
acceptMessage, getClassForHardwareAddress, registerHardwareConnectEventListener, registerHardwareInputEventListener, removeHardwareConnectEventListener, removeHardwareInputEventListener, setDeviceConfiguration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpInputDispatcher

public UdpInputDispatcher()
Method Detail

disconnect

public void disconnect()

removeOscListener

public boolean removeOscListener(java.lang.String hardwareAddress)
Specified by:
removeOscListener in class HardwareInputDispatcher

changeOscListener

public boolean changeOscListener(java.lang.String oldAddress,
                                 java.lang.String newAddress)
Specified by:
changeOscListener in class HardwareInputDispatcher

addOscListener

public void addOscListener(java.lang.String hardwareAddress)
Specified by:
addOscListener in class HardwareInputDispatcher