Rice Pastry API

org.mpisws.p2p.transport.sourceroute
Interface SourceRouteFactory<Identifier>

All Known Implementing Classes:
MultiAddressSourceRouteFactory, WireSourceRouteFactory

public interface SourceRouteFactory<Identifier>


Method Summary
 SourceRoute<Identifier> build(InputBuffer buf, Identifier local, Identifier lastHop)
           
 SourceRoute<Identifier> getSourceRoute(Identifier local)
           
 SourceRoute<Identifier> getSourceRoute(Identifier local, Identifier dest)
           
 SourceRoute<Identifier> getSourceRoute(java.util.List<Identifier> route)
           
 SourceRoute<Identifier> reverse(SourceRoute<Identifier> route)
           
 

Method Detail

getSourceRoute

SourceRoute<Identifier> getSourceRoute(java.util.List<Identifier> route)

reverse

SourceRoute<Identifier> reverse(SourceRoute<Identifier> route)

build

SourceRoute<Identifier> build(InputBuffer buf,
                              Identifier local,
                              Identifier lastHop)
                              throws java.io.IOException
Throws:
java.io.IOException

getSourceRoute

SourceRoute<Identifier> getSourceRoute(Identifier local,
                                       Identifier dest)

getSourceRoute

SourceRoute<Identifier> getSourceRoute(Identifier local)

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection