Rice Pastry API

rice.p2p.splitstream
Interface SplitStreamClient

All Known Implementing Classes:
MySplitStreamClient, MySplitStreamClient

public interface SplitStreamClient

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

Version:
$Id: SplitStreamClient.java 3613 2007-02-15 14:45:14Z jstewart $
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

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

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