コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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();
 }