OSCDataSpace:
Filter:
Utopia/Classes (extension) | Relay classes

OSCDataSpace
ExtensionExtension

Sync simple data types between Peers

Description

Sync simple data types between Peers. The types supported are the basic OSC types, so integers, floats and symbols. (SC's OSC implementation converts Strings to Symbols.) It functions similarly to a IdentityDictionary in its basic operation (i.e. you can use at and put).

Class Methods

.new

Create a new OSCDataSpace

Arguments:

addrBook

an AddrBook where Peers are registered

oscPath

the oscPath to use when relaying

Returns:

a new OSCDataSpace

Instance Methods

.getPairs

Get pairwise keys and values

Returns:

Return an Array with all keys and values pairwise.

Examples