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, ByteBuffer m, Map<String,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,
                                ByteBuffer m,
                                Map<String,Object> options)
                                throws IOException
Called when a message was routed by the overlay to this node.

Parameters:
i -
m -
options -
Throws:
IOException


Copyright © 2010. All Rights Reserved.