org.mpisws.p2p.transport.sourceroute.factory
Class WireSourceRouteFactory
java.lang.Object
org.mpisws.p2p.transport.sourceroute.factory.WireSourceRouteFactory
- All Implemented Interfaces:
- SourceRouteFactory<java.net.InetSocketAddress>
public class WireSourceRouteFactory
- extends java.lang.Object
- implements SourceRouteFactory<java.net.InetSocketAddress>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WireSourceRouteFactory
public WireSourceRouteFactory()
build
public SourceRoute<java.net.InetSocketAddress> build(InputBuffer buf)
throws java.io.IOException
- Specified by:
build
in interface SourceRouteFactory<java.net.InetSocketAddress>
- Throws:
java.io.IOException
getSourceRoute
public SourceRoute<java.net.InetSocketAddress> getSourceRoute(java.util.List<java.net.InetSocketAddress> route)
- Specified by:
getSourceRoute
in interface SourceRouteFactory<java.net.InetSocketAddress>
reverse
public SourceRoute<java.net.InetSocketAddress> reverse(SourceRoute<java.net.InetSocketAddress> route)
- Specified by:
reverse
in interface SourceRouteFactory<java.net.InetSocketAddress>
getSourceRoute
public SourceRoute<java.net.InetSocketAddress> getSourceRoute(java.net.InetSocketAddress local,
java.net.InetSocketAddress dest)
- Specified by:
getSourceRoute
in interface SourceRouteFactory<java.net.InetSocketAddress>
getSourceRoute
public SourceRoute<java.net.InetSocketAddress> getSourceRoute(java.net.InetSocketAddress local)
- Specified by:
getSourceRoute
in interface SourceRouteFactory<java.net.InetSocketAddress>
Copyright © 2001-2005 - Rice Pastry.