|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelOpener<Identifier>
| Field Summary | |
|---|---|
static int |
SUCCESS
|
| Method Summary | |
|---|---|
Cancellable |
openChannel(Identifier dest,
byte cnnectionType,
byte[] credentials,
Continuation<java.lang.Integer,java.lang.Exception> deliverResultToMe)
Open a socket to the dest, then after writing credentials, call notify the higher layer: incomingSocket() |
| Field Detail |
|---|
static final int SUCCESS
| Method Detail |
|---|
Cancellable openChannel(Identifier dest,
byte cnnectionType,
byte[] credentials,
Continuation<java.lang.Integer,java.lang.Exception> deliverResultToMe)
dest - open a channel to here, and then write credentialsconnectionType - TCP, UDP, TCP_AND_UDP, STUNcredentials - deliverResultToMe -
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||