|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mpisws.p2p.transport.sourceroute.factory.MultiAddressSourceRouteFactory
public class MultiAddressSourceRouteFactory
Constructor Summary | |
---|---|
MultiAddressSourceRouteFactory()
|
Method Summary | |
---|---|
SourceRoute<MultiInetSocketAddress> |
build(InputBuffer buf,
MultiInetSocketAddress local,
MultiInetSocketAddress lastHop)
2 in the path is a special case, and we can just generate it from the local and last hops |
SourceRoute<MultiInetSocketAddress> |
getSourceRoute(java.util.List<MultiInetSocketAddress> route)
|
SourceRoute<MultiInetSocketAddress> |
getSourceRoute(MultiInetSocketAddress local)
|
SourceRoute<MultiInetSocketAddress> |
getSourceRoute(MultiInetSocketAddress local,
MultiInetSocketAddress dest)
|
SourceRoute<MultiInetSocketAddress> |
reverse(SourceRoute<MultiInetSocketAddress> route)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiAddressSourceRouteFactory()
Method Detail |
---|
public SourceRoute<MultiInetSocketAddress> build(InputBuffer buf, MultiInetSocketAddress local, MultiInetSocketAddress lastHop) throws java.io.IOException
build
in interface SourceRouteFactory<MultiInetSocketAddress>
java.io.IOException
public SourceRoute<MultiInetSocketAddress> getSourceRoute(java.util.List<MultiInetSocketAddress> route)
getSourceRoute
in interface SourceRouteFactory<MultiInetSocketAddress>
public SourceRoute<MultiInetSocketAddress> reverse(SourceRoute<MultiInetSocketAddress> route)
reverse
in interface SourceRouteFactory<MultiInetSocketAddress>
public SourceRoute<MultiInetSocketAddress> getSourceRoute(MultiInetSocketAddress local, MultiInetSocketAddress dest)
getSourceRoute
in interface SourceRouteFactory<MultiInetSocketAddress>
public SourceRoute<MultiInetSocketAddress> getSourceRoute(MultiInetSocketAddress local)
getSourceRoute
in interface SourceRouteFactory<MultiInetSocketAddress>
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |