|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OSCBidi
An interface describing common functionality in bidirectional OSC communicators.
| Field Summary |
|---|
| Fields inherited from interface de.sciss.net.OSCChannel |
|---|
DEFAULTBUFSIZE, kDumpBoth, kDumpHex, kDumpOff, kDumpText, TCP, UDP |
| Method Summary | |
|---|---|
void |
dumpIncomingOSC(int mode,
PrintStream stream)
Changes the way incoming messages are dumped to the console. |
void |
dumpOutgoingOSC(int mode,
PrintStream stream)
Changes the way outgoing messages are dumped to the console. |
boolean |
isActive()
Checks whether the communicator is active (was started) or not (is stopped). |
void |
start()
Starts the communicator. |
void |
stop()
Stops the communicator. |
| Methods inherited from interface de.sciss.net.OSCChannel |
|---|
dispose, dumpOSC, getBufferSize, getCodec, getLocalAddress, getProtocol, setBufferSize, setCodec |
| Method Detail |
|---|
void start()
throws IOException
IOException - if a networking error occursboolean isActive()
true if the communicator is active, false otherwise
void stop()
throws IOException
IOException - if a networking error occurs
void dumpIncomingOSC(int mode,
PrintStream stream)
OSCListeners.
mode - see dumpOSC( int ) for detailsstream - the stream to print on, or null which
is shorthand for System.errOSCChannel.dumpOSC( int, PrintStream ),
dumpOutgoingOSC( int, PrintStream )
void dumpOutgoingOSC(int mode,
PrintStream stream)
send.
mode - see dumpOSC( int ) for detailsstream - the stream to print on, or null which
is shorthand for System.errOSCChannel.dumpOSC( int, PrintStream ),
dumpIncomingOSC( int, PrintStream )
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||