FileDocCategorySizeDatePackage
VivaldiPositionProvider.javaAPI DocAzureus 3.0.3.42155Thu Dec 28 10:46:40 GMT 2006com.aelitis.azureus.core.dht.netcoords.vivaldi.ver1

VivaldiPositionProvider

public class VivaldiPositionProvider extends Object implements com.aelitis.azureus.core.dht.netcoords.DHTNetworkPositionProvider

Fields Summary
Constructors Summary
Methods Summary
public com.aelitis.azureus.core.dht.netcoords.DHTNetworkPositioncreate(byte[] ID, boolean is_local)

		return( VivaldiPositionFactory.createPosition());
	
public com.aelitis.azureus.core.dht.netcoords.DHTNetworkPositiondeserialisePosition(java.io.DataInputStream is)

		float[]	data = new float[4];
		
		for (int i=0;i<data.length;i++){
			
			data[i] = is.readFloat();
		}
		
		VivaldiPosition	pos = VivaldiPositionFactory.createPosition();
		
		pos.fromFloatArray( data );
		
		return( pos );
	
public com.aelitis.azureus.core.dht.netcoords.DHTNetworkPositiongetLocalPosition()

		return( null );
	
public bytegetPositionType()

		return( DHTNetworkPosition.POSITION_TYPE_VIVALDI_V1 );
	
public voidserialiseStats(java.io.DataOutputStream os)

	
	
public voidshutDown(java.io.DataOutputStream os)

	
	
public voidstartUp(java.io.DataInputStream is)