dispatches osc messages to multiple servers. Where broadcasting does not make sense, it forwards the message call to the local server defined in BroadcastServer.new
.
BroadCastServer
implements the Server interface and thus behaves like one wihtout explicitely being its subclass (duck-typing). All methods specific for BroadCastServer
are documented in here, whereas the rest can be looked up in the Server helpfile.create a new instance. Initialising options are used only for the local server's properties. The other servers are represented by addresses added by addAddr.
clientID
needs to be different for each participant.name |
local server name |
addr |
local server |
options |
local server |
clientID |
local server |
like *new
, but pass in already existing servers directly.
homeServer |
the local server |
addresses |
|
Addresses the server is supposed to broadcast to. This usually includes the home address.
the home server which is the server used for ID allocation and where normal functions of an individual server (like boot
etc.) are relocated to.
index |
nth NetAddr
.
index |
nth NetAddr
, if index too large, starts from beginning.
function |
iterate over all addresses |
add a server's address
ip | |
port |
remove a server's address
ip |
an IP address, e.g. |
boots the local server