|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.illposed.osc.OSCPort
com.illposed.osc.OSCPortIn
public class OSCPortIn
The Class OSCPortIn.
| Field Summary |
|---|
| Fields inherited from class com.illposed.osc.OSCPort |
|---|
defaultSCLangOSCPort, defaultSCOSCPort |
| Constructor Summary | |
|---|---|
OSCPortIn(int port)
Create an OSCPort that listens on port. |
|
| Method Summary | |
|---|---|
void |
addListener(java.lang.String anAddress,
OSCListener listener)
Register the listener for incoming OSCPackets addressed to an Address. |
void |
close()
Close the socket and free-up resources. |
boolean |
isListening()
Am I listening for packets?. |
void |
run()
Run. |
void |
startListening()
Start listening for incoming OSCPackets. |
void |
stopListening()
Stop listening for incoming OSCPackets. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSCPortIn(int port)
throws java.net.SocketException
port - the port
java.net.SocketException - the socket exception| Method Detail |
|---|
public void addListener(java.lang.String anAddress,
OSCListener listener)
anAddress - the address to listen forlistener - the object to invoke when a message comes inpublic void close()
close in class OSCPortpublic boolean isListening()
public void run()
run in interface java.lang.RunnableRunnable.run()public void startListening()
public void stopListening()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||