Rice Pastry API

org.mpisws.p2p.transport.multiaddress
Class SimpleAddressStrategy

java.lang.Object
  extended by org.mpisws.p2p.transport.multiaddress.SimpleAddressStrategy
All Implemented Interfaces:
AddressStrategy

public class SimpleAddressStrategy
extends java.lang.Object
implements AddressStrategy


Constructor Summary
SimpleAddressStrategy(MultiInetSocketAddress local)
           
 
Method Summary
 java.net.InetSocketAddress getAddress(MultiInetSocketAddress remote)
          Method which returns the address of this address
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAddressStrategy

public SimpleAddressStrategy(MultiInetSocketAddress local)
Method Detail

getAddress

public java.net.InetSocketAddress getAddress(MultiInetSocketAddress remote)
Method which returns the address of this address

Specified by:
getAddress in interface AddressStrategy
Returns:
The address

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection