Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mpisws.p2p.transport.rendezvous
Interface ChannelOpener<Identifier>

    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

### SUCCESS

    static final int SUCCESS

See Also:
  Constant Field Values

Method Detail

### openChannel

    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()

  Parameters:
    `dest` - open a channel to here, and then write credentials
    `connectionType` - TCP, UDP, TCP_AND_UDP, STUN
    `credentials` -
    `deliverResultToMe` -
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.