/** * set the remote host address. set ip address and port of the host message should be sent to. * * @param theNetAddress NetAddress * @related OscProperties */ public void setRemoteAddress(NetAddress theNetAddress) { _myRemoteAddress = theNetAddress; _mySendStatus = _myRemoteAddress.isvalid(); }
/** * set the remote host address. set ip address and port of the host message should be sent to. * * @param theHostAddress String * @param thePort int * @related OscProperties */ public void setRemoteAddress(final String theHostAddress, final int thePort) { _myRemoteAddress = new NetAddress(theHostAddress, thePort); _mySendStatus = _myRemoteAddress.isvalid(); }