Rice Pastry API

org.mpisws.p2p.transport.rendezvous
Interface RendezvousTransportLayer<HighIdentifier>

All Known Implementing Classes:
RendezvousTransportLayerImpl

public interface RendezvousTransportLayer<HighIdentifier>


Field Summary
static int SUCCESS
           
 
Method Summary
 void messageReceivedFromOverlay(HighIdentifier i, java.nio.ByteBuffer m, java.util.Map<java.lang.String,java.lang.Object> options)
          Called when a message was routed by the overlay to this node.
 void openChannel(HighIdentifier requestor, HighIdentifier middleMan, int uid)
          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

void openChannel(HighIdentifier requestor,
                 HighIdentifier middleMan,
                 int uid)
Open a socket to the dest, then after writing credentials, call notify the higher layer: incomingSocket()


messageReceivedFromOverlay

void messageReceivedFromOverlay(HighIdentifier i,
                                java.nio.ByteBuffer m,
                                java.util.Map<java.lang.String,java.lang.Object> options)
                                throws java.io.IOException
Called when a message was routed by the overlay to this node.

Parameters:
i -
m -
options -
Throws:
java.io.IOException

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection