com.aelitis.azureus.core.networkmanager.admin.impl
Class NetworkAdminASNImpl
java.lang.Object
com.aelitis.azureus.core.networkmanager.admin.impl.NetworkAdminASNImpl
- All Implemented Interfaces:
- NetworkAdminASN
public class NetworkAdminASNImpl
- extends Object
- implements NetworkAdminASN
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkAdminASNImpl
protected NetworkAdminASNImpl(String _as,
String _asn,
String _bgp)
getAS
public String getAS()
- Specified by:
getAS
in interface NetworkAdminASN
getASName
public String getASName()
- Specified by:
getASName
in interface NetworkAdminASN
setASName
protected void setASName(String s)
getBGPPrefix
public String getBGPPrefix()
- Specified by:
getBGPPrefix
in interface NetworkAdminASN
getBGPStartAddress
public InetAddress getBGPStartAddress()
- Specified by:
getBGPStartAddress
in interface NetworkAdminASN
getCIDRStartAddress
protected InetAddress getCIDRStartAddress()
throws NetworkAdminException
- Throws:
NetworkAdminException
getCIDREndAddress
protected InetAddress getCIDREndAddress()
throws NetworkAdminException
- Throws:
NetworkAdminException
matchesCIDR
public boolean matchesCIDR(InetAddress address)
- Specified by:
matchesCIDR
in interface NetworkAdminASN
getBGPEndAddress
public InetAddress getBGPEndAddress()
- Specified by:
getBGPEndAddress
in interface NetworkAdminASN
sameAs
public boolean sameAs(NetworkAdminASN other)
- Specified by:
sameAs
in interface NetworkAdminASN
getString
public String getString()
- Specified by:
getString
in interface NetworkAdminASN