|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RendezvousStrategy<Identifier>
Uses a 3rd party channel to request a node to connect to a dest.
Field Summary | |
---|---|
static int |
SUCCESS
|
Method Summary | |
---|---|
Cancellable |
openChannel(Identifier target,
Identifier dest,
byte[] credentials,
Continuation<java.lang.Integer,java.lang.Exception> deliverResultToMe)
Calls ChannelOpener.openChannel(dest, credentials) on target Possible exceptions to deliverResultToMe: NodeIsFaultyException if target is faulty UnableToConnectException if dest is faulty |
Field Detail |
---|
static final int SUCCESS
Method Detail |
---|
Cancellable openChannel(Identifier target, Identifier dest, byte[] credentials, Continuation<java.lang.Integer,java.lang.Exception> deliverResultToMe)
target
- call ChannelOpener.openChannel() on this Identifierdest
- pass this to ChannelOpener.openChannel(), it's who the ChannelOpener will connect tocredentials
- this is also passed to ChannelOpener.openChannel()deliverResultToMe
- notify me when success/failure
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |