Rice Pastry API

org.mpisws.p2p.transport.sourceroute
Interface SourceRouteTap


public interface SourceRouteTap

Notified of messages sent to intermediate nodes.

Author:
Jeff Hoye

Method Summary
 void receivedBytes(java.nio.ByteBuffer m, SourceRoute path, P2PSocket a, P2PSocket b)
          We are the intermediate node for some bytes from Socket a to Socket b
 void receivedMessage(java.nio.ByteBuffer m, SourceRoute path)
          We are the intermediate node for a message.
 void socketClosed(SourceRoute path, P2PSocket a, P2PSocket b)
           
 void socketOpened(SourceRoute path, P2PSocket a, P2PSocket b)
           
 

Method Detail

receivedMessage

void receivedMessage(java.nio.ByteBuffer m,
                     SourceRoute path)
We are the intermediate node for a message.

Parameters:
m -
path -

socketOpened

void socketOpened(SourceRoute path,
                  P2PSocket a,
                  P2PSocket b)
Parameters:
path -
a -
b -

socketClosed

void socketClosed(SourceRoute path,
                  P2PSocket a,
                  P2PSocket b)
Parameters:
path -
a -
b -

receivedBytes

void receivedBytes(java.nio.ByteBuffer m,
                   SourceRoute path,
                   P2PSocket a,
                   P2PSocket b)
We are the intermediate node for some bytes from Socket a to Socket b

Parameters:
m -
path -
a -
b -

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection