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 Object
implements AddressStrategy


Constructor Summary
SimpleAddressStrategy()
           
 
Method Summary
 InetSocketAddress getAddress(MultiInetSocketAddress local, 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()
Method Detail

getAddress

public InetSocketAddress getAddress(MultiInetSocketAddress local,
                                    MultiInetSocketAddress remote)
Method which returns the address of this address

Specified by:
getAddress in interface AddressStrategy
Returns:
The address


Copyright © 2010. All Rights Reserved.