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
InetSocketAddress getLANAddress(InetSocketAddress external_address,
                                int address_type)
 
getExternalAddress
InetSocketAddress getExternalAddress(InetSocketAddress lan_address,
                                     int address_type)
 
isLANAddress
boolean isLANAddress(InetAddress address)
 
isExternalAddress
boolean isExternalAddress(InetAddress address)
 
addLANSubnet
boolean addLANSubnet(String subnet)
                     throws PatternSyntaxException
- Throws:
 PatternSyntaxException
 
getIncludeWellKnownLANs
boolean getIncludeWellKnownLANs()
 
setIncludeWellKnownLANs
void setIncludeWellKnownLANs(boolean include)
 
getClockSkew
long getClockSkew()
 
addInstance
boolean addInstance(InetAddress explicit_address)
 
addListener
void addListener(AZInstanceManagerListener l)
 
removeListener
void removeListener(AZInstanceManagerListener l)