Class Osc.Message

An OSC message.

Constructors

Message(string path)

Properties

path the OSC path of this message.

Methods

add(bool value) add a boolean argument to this message.
add(float value) add a float argument to this message.
add(integer value) add an integer argument to this message.
add(null value) add a null argument to this message.
add(string value) add a string argument to this message.
arg(integer index) returns the argument at the given index.
args() returns the number of arguments to this message.

Constructor Documentation


Message(string path)

Parameters

Property Documentation


string path

The OSC path of this message.

Method Documentation


void add(bool value)

Add a boolean argument to this message.

Parameters


void add(float value)

Add a float argument to this message.

Parameters


void add(integer value)

Add an integer argument to this message.

Parameters


void add(null value)

Add a null argument to this message.

Parameters


void add(string value)

Add a string argument to this message.

Parameters


any arg(integer index)

Returns the argument at the given index.

Parameters

Returns


integer args()

Returns the number of arguments to this message.

Returns



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.