Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
OscAddressSpace | createAddressSpace () |
void | createUdpServer (int port, OscAddressSpace addressSpace) |
OscServer | createUdpServer (OscAddressSpace addressSpace) |
OscConnection | connectToUdpServer (String host, int port, OscAddressSpace addressSpace) |
Interface to create Osc related object.
OscConnection connectToUdpServer | ( | String | host, |
int | port, | ||
OscAddressSpace | addressSpace | ||
) |
Tries to connect to an OscServer.
addressSpace | can be null |
OscAddressSpace createAddressSpace | ( | ) |
Creates a new OscAddressSpace.
In short the OscAddressSpace dispatches the incoming messages to services. An OscAddressSpace is an OscService.
void createUdpServer | ( | int | port, |
OscAddressSpace | addressSpace | ||
) |
OscServer createUdpServer | ( | OscAddressSpace | addressSpace | ) |
Creates a new OSC Server. This server is not started yet, you'll have to start it by calling server.start(port); Use this method if the port is not known during the initialization (coming from a setting) or if the port number can change at runtime.
addressSpace | Use createAddressSpace() |