code: public void init(final Connection connection, final String devname, final String param,
  	    	final int src) throws DevFailed {
  		connection.devname = devname;
  		connection.setDevice_is_dbase(false);
  		if (src == FROM_IOR) {
  	    	connection.ior = param;
  	    	connection.url = new TangoUrl();
  	    	connection.url.protocol = TANGO;
  		} else {
  	    	Except.throw_wrong_syntax_exception(
                      "TangoApi_INVALID_ARGS", "Invalid argument", "Connection.Connection()");
  		}
      }
docs: ===================================================================