|
Control Surface API
3.0.3
|
Public Member Functions | |
| void | startBundle () throws IOException |
| void | sendMessage (String address, Object...args) throws IOException, OscInvalidArgumentTypeException |
| void | endBundle () throws IOException |
This interface lets you send OscMessage through an connection which can be via Tcp, Udp, or whatever.
OscPackets are sent when all the startBundle() have a matching endBundle(). If you call sendMessage() with startBundle() before, then the message will be sent directly.
Our maximum packet size is 64K.
Definition at line 15 of file OscConnection.java.
| void endBundle | ( | ) | throws IOException |
Finishes the previous bundle, and if it was not inside an other bundle, it will send the message directly.
| void sendMessage | ( | String | address, |
| Object... | args | ||
| ) | throws IOException, OscInvalidArgumentTypeException |
Supported object types:
| void startBundle | ( | ) | throws IOException |
Starts an OscBundle.