Package com.biglybt.core.dht.transport
Interface DHTTransportAlternativeContact
-
- All Known Implementing Classes:
DHTTransportAlternativeContactImpl
public interface DHTTransportAlternativeContact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getAge()
Gets the contact's age since last known to be alive in secondsint
getID()
A good-enough ID to spot duplicates - must be equal to Arrays.hashCode( BEncode( getProperties()));int
getLastAlive()
Deprecated.int
getNetworkType()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
int
getVersion()
-
-
-
Method Detail
-
getNetworkType
int getNetworkType()
-
getVersion
int getVersion()
-
getID
int getID()
A good-enough ID to spot duplicates - must be equal to Arrays.hashCode( BEncode( getProperties()));- Returns:
-
getLastAlive
int getLastAlive()
Deprecated.- Returns:
-
getAge
int getAge()
Gets the contact's age since last known to be alive in seconds- Returns:
-
getProperties
java.util.Map<java.lang.String,java.lang.Object> getProperties()
-
-