/** * Creates an OSCMessage with an address * and arguments already initialized. * @param address the recipient of this OSC message * @param arguments the data sent to the receiver */ public OSCMessage(final String address, final Collection<Object> arguments) { checkAddress(address); this.address = address; if (arguments == null) { this.arguments = new LinkedList<Object>(); } else { this.arguments = new ArrayList<Object>(arguments); } }
/** * Set the address of this message. * @param address the receiver of the message */ public void setAddress(final String address) { checkAddress(address); this.address = address; contentChanged(); }