|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.tomp2p.p2p.DistributedRouting
public class DistributedRouting
Handles routing of nodes to other nodes
| Constructor Summary | |
|---|---|
DistributedRouting(PeerBean peerBean,
NeighborRPC neighbors)
|
|
| Method Summary | |
|---|---|
FutureRouting |
bootstrap(Collection<PeerAddress> peerAddresses,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean forceSocket,
boolean isForceRoutingOnlyToSelf,
ChannelCreator cc)
Bootstraps to the given peerAddresses, i.e. |
FutureRouting |
bootstrap(Collection<PeerAddress> peerAddresses,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean forceSocket,
ChannelCreator cc)
Deprecated. |
FutureRouting |
route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean isDigest,
boolean forceSocket,
ChannelCreator cc)
|
FutureRouting |
route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean isDigest,
ChannelCreator cc)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributedRouting(PeerBean peerBean,
NeighborRPC neighbors)
| Method Detail |
|---|
@Deprecated
public FutureRouting bootstrap(Collection<PeerAddress> peerAddresses,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean forceSocket,
ChannelCreator cc)
peerAddresses - maxNoNewInfo - maxFailures - maxSuccess - parallel - forceSocket - cc -
public FutureRouting bootstrap(Collection<PeerAddress> peerAddresses,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean forceSocket,
boolean isForceRoutingOnlyToSelf,
ChannelCreator cc)
peerAddresses - the node to which bootstrap should be performed tomaxNoNewInfo - number of nodes asked without new information to stop atmaxFailures - number of failures to stop atparallel - number of routing requests performed concurrently
@Deprecated
public FutureRouting route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean isDigest,
ChannelCreator cc)
locationKey - the node a route should be found todomainKey - the domain of the network the current node and locationKey is
incontentKeys - keys of the content to search for. Only used if you perform a
getmaxDirectHits - number of direct hits to stop atmaxNoNewInfo - number of nodes asked without new information to stop atmaxFailures - number of failures to stop atparallel - number of routing requests performed concurrently
public FutureRouting route(Number160 locationKey,
Number160 domainKey,
Collection<Number160> contentKeys,
Message.Command command,
int maxDirectHits,
int maxNoNewInfo,
int maxFailures,
int maxSuccess,
int parallel,
boolean isDigest,
boolean forceSocket,
ChannelCreator cc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||