Creates an undefine-attribute operation using the specified address and name.
@param address a resource path
@param name an attribute name
@return an undefine-attribute operation
6545
public static ModelNode createUndefineAttributeOperation(PathAddress address, String name) {
        return createAttributeOperation(ModelDescriptionConstants.UNDEFINE_ATTRIBUTE_OPERATION, address, name);
    }
366259
public SingleServerConfig setAddress(String address) {
        if (address != null) {
            this.address = URIBuilder.create(address);
        }
        return this;
    }
445842
public static ModelNode createOperation(final String operation, final ModelNode address) {
        if (address.getType() != ModelType.LIST) {
            throw ControllerClientLogger.ROOT_LOGGER.invalidAddressType();
        }
        final ModelNode op = createOperation(operation);
        op.get(OP_ADDR).set(address);
        return op;
    }
592168
public static io.scalecube.transport.Address toAddress(
      io.scalecube.services.transport.api.Address address) {
    return io.scalecube.transport.Address.create(address.host(), address.port());
  }
943841
public static ResourceRecordSet<AAAAData> aaaa(String name, Collection<String> addresses) {
    return new AAAABuilder().name(name).addAll(addresses).build();
  }
1127779
public static ResourceRecordSet<AData> a(String name, String address) {
    return new ABuilder().name(name).add(address).build();
  }
699696
public function addFrom($address, $name = null)
    {
        $current = $this->getFrom();
        $current[$address] = $name;

        return $this->setFrom($current);
    }
1028114
public void fixAddress(String name) throws IOException
    {
        Label label = labels.get(name);
        if (label == null)
        {
            label = new Label(name);
            labels.put(name, label);
        }
        int pos = position();
        label.setAddress(pos);
        labelMap.put(pos, label);
    }
1220992
public static InetAddress ntoa(final int address)
	{
		try
		{
			final byte[] addr = new byte[4];

			addr[0] = (byte) ((address >>> 24) & 0xFF);
			addr[1] = (byte) ((address >>> 16) & 0xFF);
			addr[2] = (byte) ((address >>> 8) & 0xFF);
			addr[3] = (byte) (address & 0xFF);

			return InetAddress.getByAddress(addr);
		}
		catch (UnknownHostException e)
		{
			// will never be thrown
			throw new Error(e);
		}
	}
1122380
public static ModelNode createWriteAttributeOperation(PathAddress address, String name, ModelNode value) {
        ModelNode operation = createAttributeOperation(ModelDescriptionConstants.WRITE_ATTRIBUTE_OPERATION, address, name);
        operation.get(ModelDescriptionConstants.VALUE).set(value);
        return operation;
    }
1299928
@VisibleForTesting
  static String makeTargetStringForDirectAddress(SocketAddress address) {
    try {
      return new URI(DIRECT_ADDRESS_SCHEME, "", "/" + address, null).toString();
    } catch (URISyntaxException e) {
      // It should not happen.
      throw new RuntimeException(e);
    }
  }
1129043
public InetSocketAddress getSocketAddr(
			String name, String defaultAddress, int defaultPort) {
		final String address = getTrimmed(name, defaultAddress);
		return NetUtils.createSocketAddr(address, defaultPort, name);
	}
1127810
public GeoLocationResponse addAddress(final String address) {
        if (StringUtils.isNotBlank(address)) {
            this.addresses.add(address);
        }
        return this;
    }
1086199
public static Address from(String address) {
    int lastColon = address.lastIndexOf(':');
    int openBracket = address.indexOf('[');
    int closeBracket = address.indexOf(']');

    String host;
    if (openBracket != -1 && closeBracket != -1) {
      host = address.substring(openBracket + 1, closeBracket);
    } else if (lastColon != -1) {
      host = address.substring(0, lastColon);
    } else {
      host = address;
    }

    int port;
    if (lastColon != -1) {
      try {
        port = Integer.parseInt(address.substring(lastColon + 1));
      } catch (NumberFormatException e) {
        throw new MalformedAddressException(address, e);
      }
    } else {
      port = DEFAULT_PORT;
    }
    return new Address(host, port);
  }
818918
public static AddressInfo of(RegionId regionId, String name) {
    return of(RegionAddressId.of(regionId, name));
  }
260726
public void setInetAddress(InetSocketAddress address) {
		this.value = address.getAddress();
		this.type = AttributeType.INET_ADDRESS;
		this.assigned = this.value != null;
	}
515959
public static ResourceRecordSet<AData> a(String name, Collection<String> addresses) {
    return new ABuilder().name(name).addAll(addresses).build();
  }