|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.io.tuio.TuioConnection
public class TuioConnection
| Constructor Summary | |
|---|---|
TuioConnection()
Default constructor |
|
TuioConnection(int port)
This constructor creates a client that listens to the provided port |
|
| Method Summary | |
|---|---|
void |
acceptMessage(Date date,
com.illposed.osc.OSCMessage message)
The OSC callback method where all TUIO messages are received and decoded and where the TUIO event callbacks are dispatched |
void |
addTuioListener(TuioListener listener,
Set<String> modifiers)
Adds the provided TuioListener to the list of registered TUIO event listeners |
void |
connect()
The TuioClient starts listening to TUIO messages on the configured UDP port All received TUIO messages are decoded and the resulting TUIO events are broadcasted to all registered TuioListener(3D)s |
void |
disconnect()
The TuioClient stops listening to TUIO messages on the configured UDP port |
boolean |
isConnected()
Returns true if this TuioClient is currently connected. |
void |
removeAllTuioListener(Set<String> modifiers)
Removes all TuioListeners from the list of registered TUIO event listeners |
void |
removeTuioListener(TuioListener listener,
Set<String> modifiers)
Removes the provided TuioListener from the list of registered TUIO event listeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TuioConnection()
public TuioConnection(int port)
port - the listening port number| Method Detail |
|---|
public void connect()
public void disconnect()
public boolean isConnected()
public void addTuioListener(TuioListener listener,
Set<String> modifiers)
listener - the TuioListener to addmodifiers - the desired TUIO profiles
public void removeTuioListener(TuioListener listener,
Set<String> modifiers)
listener - the TuioListener to removemodifiers - the desired TUIO profilespublic void removeAllTuioListener(Set<String> modifiers)
modifiers - the desired TUIO profiles
public void acceptMessage(Date date,
com.illposed.osc.OSCMessage message)
acceptMessage in interface com.illposed.osc.OSCListenerdate - the time stamp of the OSC bundlemessage - the received OSC message
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||