Class NetworkAdminASNImpl
java.lang.Object
com.biglybt.core.networkmanager.admin.impl.NetworkAdminASNImpl
- All Implemented Interfaces:
NetworkAdminASN
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NetworkAdminASNImpl
(boolean _ipv4, String _as, String _asn, String _bgp) -
Method Summary
Modifier and TypeMethodDescriptiongetAS()
protected InetAddress
protected InetAddress
protected boolean
isIPv4()
boolean
matchesCIDR
(InetAddress address) boolean
sameAs
(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:
getAS
in interfaceNetworkAdminASN
-
getASName
- Specified by:
getASName
in interfaceNetworkAdminASN
-
setASName
-
getBGPPrefix
- Specified by:
getBGPPrefix
in interfaceNetworkAdminASN
-
getBGPStartAddress
- Specified by:
getBGPStartAddress
in interfaceNetworkAdminASN
-
getCIDRStartAddress
- Throws:
NetworkAdminException
-
getCIDREndAddress
- Throws:
NetworkAdminException
-
matchesCIDR
- Specified by:
matchesCIDR
in interfaceNetworkAdminASN
-
getBGPEndAddress
- Specified by:
getBGPEndAddress
in interfaceNetworkAdminASN
-
sameAs
- Specified by:
sameAs
in interfaceNetworkAdminASN
-
getString
- Specified by:
getString
in interfaceNetworkAdminASN
-