Interface OscModule
public interface OscModule
Interface to create Osc related object.
- Since:
- API version 5
-
Method Summary
Modifier and TypeMethodDescriptionconnectToUdpServer(String host, int port, OscAddressSpace addressSpace) Tries to connect to an OscServer.Creates a new OscAddressSpace.voidcreateUdpServer(int port, OscAddressSpace addressSpace) Creates a new OSC Server.createUdpServer(OscAddressSpace addressSpace) Creates a new OSC Server.
-
Method Details
-
createAddressSpace
OscAddressSpace createAddressSpace()Creates a new OscAddressSpace. In short the OscAddressSpace dispatches the incoming messages to services. An OscAddressSpace is an OscService.- Since:
- API version 5
-
createUdpServer
Creates a new OSC Server.- Parameters:
addressSpace- UsecreateAddressSpace()- Since:
- API version 5
-
createUdpServer
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.- Parameters:
addressSpace- UsecreateAddressSpace()- Returns:
- a new OscServer
- Since:
- API version 10
-
connectToUdpServer
Tries to connect to an OscServer.- Parameters:
addressSpace- can be null- Returns:
- a new OscConnection
- Since:
- API version 5
-