org.mpisws.p2p.transport.multiaddress
Class SimpleAddressStrategy
java.lang.Object
org.mpisws.p2p.transport.multiaddress.SimpleAddressStrategy
- All Implemented Interfaces:
- AddressStrategy
public class SimpleAddressStrategy
- extends Object
- implements AddressStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAddressStrategy
public SimpleAddressStrategy()
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.