com.aelitis.azureus.core.instancemanager
Interface AZInstanceManager
- All Known Implementing Classes:
- AZInstanceManagerImpl
public interface AZInstanceManager
AT_TCP
static final int AT_TCP
- See Also:
- Constant Field Values
AT_UDP
static final int AT_UDP
- See Also:
- Constant Field Values
AT_UDP_NON_DATA
static final int AT_UDP_NON_DATA
- See Also:
- Constant Field Values
initialize
void initialize()
isInitialized
boolean isInitialized()
getMyInstance
AZInstance getMyInstance()
getOtherInstanceCount
int getOtherInstanceCount(boolean block_if_needed)
getOtherInstances
AZInstance[] getOtherInstances()
updateNow
void updateNow()
track
AZInstanceTracked[] track(byte[] hash,
AZInstanceTracked.TrackTarget target)
getLANAddress
java.net.InetSocketAddress getLANAddress(java.net.InetSocketAddress external_address,
int address_type)
getExternalAddress
java.net.InetSocketAddress getExternalAddress(java.net.InetSocketAddress lan_address,
int address_type)
isLANAddress
boolean isLANAddress(java.net.InetAddress address)
isExternalAddress
boolean isExternalAddress(java.net.InetAddress address)
addLANSubnet
boolean addLANSubnet(java.lang.String subnet)
throws java.util.regex.PatternSyntaxException
- Throws:
java.util.regex.PatternSyntaxException
addLANAddress
void addLANAddress(java.net.InetAddress address)
removeLANAddress
void removeLANAddress(java.net.InetAddress address)
getIncludeWellKnownLANs
boolean getIncludeWellKnownLANs()
setIncludeWellKnownLANs
void setIncludeWellKnownLANs(boolean include)
getClockSkew
long getClockSkew()
addInstance
boolean addInstance(java.net.InetAddress explicit_address)
addListener
void addListener(AZInstanceManagerListener l)
removeListener
void removeListener(AZInstanceManagerListener l)