Class NetworkAdminASNImpl
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminASNImpl
- All Implemented Interfaces:
NetworkAdminASN
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkAdminASNImpl(boolean _ipv4, String _as, String _asn, String _bgp) -
Method Summary
Modifier and TypeMethodDescriptiongetAS()protected InetAddressprotected InetAddressprotected booleanisIPv4()booleanmatchesCIDR(InetAddress address) booleansameAs(NetworkAdminASN other) protected void
-
Field Details
-
ipv4
private final boolean ipv4 -
as
-
asn
-
bgp_prefix
-
-
Constructor Details
-
NetworkAdminASNImpl
-
-
Method Details
-
isIPv4
protected boolean isIPv4() -
getAS
- Specified by:
getASin interfaceNetworkAdminASN
-
getASName
- Specified by:
getASNamein interfaceNetworkAdminASN
-
setASName
-
getBGPPrefix
- Specified by:
getBGPPrefixin interfaceNetworkAdminASN
-
getBGPStartAddress
- Specified by:
getBGPStartAddressin interfaceNetworkAdminASN
-
getCIDRStartAddress
- Throws:
NetworkAdminException
-
getCIDREndAddress
- Throws:
NetworkAdminException
-
matchesCIDR
- Specified by:
matchesCIDRin interfaceNetworkAdminASN
-
getBGPEndAddress
- Specified by:
getBGPEndAddressin interfaceNetworkAdminASN
-
sameAs
- Specified by:
sameAsin interfaceNetworkAdminASN
-
getString
- Specified by:
getStringin interfaceNetworkAdminASN
-