File
Doc
Category
Size
Date
Package
DHTNetworkPosition.java
API Doc
Azureus 3.0.3.4
1889
Wed Jan 03 16:43:40 GMT 2007
com.aelitis.azureus.core.dht.netcoords
DHTNetworkPosition
public interface DHTNetworkPosition
Fields Summary
public static byte
POSITION_TYPE_NONE
public static byte
POSITION_TYPE_VIVALDI_V1
public static byte
POSITION_TYPE_VIVALDI_V2
Constructors Summary
Methods Summary
public
float
estimateRTT
(
com.aelitis.azureus.core.dht.netcoords.DHTNetworkPosition
other)
param
other
return
Float.NaN if no value available
public
byte
getPositionType
()
public
int
getSerialisedSize
()
number of bytes on wire
return
public
boolean
isValid
()
public void
serialise
(
java.io.DataOutputStream
os)
public void
update
(
byte[]
other_id,
com.aelitis.azureus.core.dht.netcoords.DHTNetworkPosition
other,
float
rtt)
Java Code Source