|
Control Surface API
3.0.3
|
Public Member Functions | |
| void | registerObjectMethods (final String addressPrefix, Object object) throws OscInvalidArgumentTypeException |
| void | registerMethod (String address, String typeTagPattern, String desc, OscMethodCallback callback) |
| void | registerDefaultMethod (OscMethodCallback callback) |
| void | setShouldLogMessages (boolean shouldLogMessages) |
| void | setName (String name) |
An OSC address space.
It contains the root OscContainer.
Definition at line 12 of file OscAddressSpace.java.
| void registerDefaultMethod | ( | OscMethodCallback | callback | ) |
| void registerMethod | ( | String | address, |
| String | typeTagPattern, | ||
| String | desc, | ||
| OscMethodCallback | callback | ||
| ) |
Low level way to register an Osc Method.
| address | The address to register the method at |
| typeTagPattern | The globing pattern used to match the type tag. Pass "*" to match anything. |
| desc | The method description. |
| callback | Then call handler. |
| void registerObjectMethods | ( | final String | addressPrefix, |
| Object | object | ||
| ) | throws OscInvalidArgumentTypeException |
Register all the methods annotated with from object. Also if a method is annotated with , this method will be called and the returned object's method will be registered.
| void setName | ( | String | name | ) |
This gives a display name for this address space. It is useful if you have multiple address space to identify them when we generate the documentation.
| void setShouldLogMessages | ( | boolean | shouldLogMessages | ) |
Should the address spaces log the messages it dispatches? Default is false.