touchscreen
Class TouchReceiver
java.lang.Object
touchscreen.TouchReceiver
- All Implemented Interfaces:
- com.illposed.osc.OSCListener
public class TouchReceiver
- extends java.lang.Object
- implements com.illposed.osc.OSCListener
Main class for listening to touch events coming across the network. This is what calls your callback.
Make sure you call update() when you have finished using the callback's data!
- Author:
- Kevin Cox, http://www.jibberia.com/
|
Method Summary |
void |
acceptMessage(java.util.Date time,
com.illposed.osc.OSCMessage msg)
Accept an incoming OSCMessage |
java.util.ArrayList |
getTouches()
|
void |
update()
Utility method for touchscreen.Touches.update() - calls it for you |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TouchReceiver
public TouchReceiver()
TouchReceiver
public TouchReceiver(TouchScreenApplication app)
TouchReceiver
public TouchReceiver(TouchScreenApplication app,
int port)
getTouches
public java.util.ArrayList getTouches()
update
public void update()
- Utility method for
touchscreen.Touches.update() - calls it for you
acceptMessage
public void acceptMessage(java.util.Date time,
com.illposed.osc.OSCMessage msg)
- Description copied from interface:
com.illposed.osc.OSCListener
- Accept an incoming OSCMessage
- Specified by:
acceptMessage in interface com.illposed.osc.OSCListener
- Parameters:
time - The time this message is to be executed. null means execute nowmsg - The message to execute.