public class StandardNetworkConfiguration extends NetworkConfiguration
StandardNetworkConfiguration
does not support the creation of subnetworks.NetworkConfiguration.Type| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGatewayAddress()
Returns the gateway IPv4 address for this networks.
|
String |
getIpRange()
Returns the range of internal IPv4 addresses that are legal on this network.
|
int |
hashCode() |
static StandardNetworkConfiguration |
of(String ipRange)
Returns a
StandardNetworkConfiguration object given the range of internal addresses
that are legal on this network. |
getType, toStringpublic String getIpRange()
192.168.0.0/16.public String getGatewayAddress()
ipRange.public static StandardNetworkConfiguration of(String ipRange)
StandardNetworkConfiguration object given the range of internal addresses
that are legal on this network. ipRange must be a CIDR specification, for example:
192.168.0.0/16.Copyright © 2019 Google LLC. All rights reserved.