Rice Pastry API

rice.p2p.splitstream
Interface SplitStreamClient

All Known Implementing Classes:
MySplitStreamClient

public interface SplitStreamClient

This interface allows an application running on top of SplitStream to be notified of events.

Version:
$Id: SplitStreamClient.java,v 1.5 2005/03/11 00:57:59 jeffh Exp $
Author:
Ansley Post, Alan Mislove

Method Summary
 void deliver(Stripe s, byte[] data)
          Is called when data is received on a stripe which this client has registered interest
 void joinFailed(Stripe s)
          This is a call back into the application to notify it that one of the stripes was unable to to find a parent, and thus unable to recieve data.
 

Method Detail

joinFailed

public void joinFailed(Stripe s)
This is a call back into the application to notify it that one of the stripes was unable to to find a parent, and thus unable to recieve data.

Parameters:
s - The stripe which the join failed on

deliver

public void deliver(Stripe s,
                    byte[] data)
Is called when data is received on a stripe which this client has registered interest

Parameters:
data - The data that was received
s - The stripe the data as received on

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection