Rice Pastry API

rice.p2p.scribe
Interface ScribeMultiClient

All Superinterfaces:
ScribeClient
All Known Implementing Classes:
ScribeImpl.ScribeClientConverter

public interface ScribeMultiClient
extends ScribeClient

The new interface for scribe as of FreePastry 2.1. Handles multiple concurrent Joins/Failures.

Author:
Jeff Hoye

Method Summary
 void subscribeFailed(java.util.Collection<Topic> topics)
          Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.
 void subscribeSuccess(java.util.Collection<Topic> topics)
          Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.
 
Methods inherited from interface rice.p2p.scribe.ScribeClient
anycast, childAdded, childRemoved, deliver, subscribeFailed
 

Method Detail

subscribeFailed

void subscribeFailed(java.util.Collection<Topic> topics)
Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.

Parameters:
topic - The topic which the subscribe failed on

subscribeSuccess

void subscribeSuccess(java.util.Collection<Topic> topics)
Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.

Parameters:
topic - The topic which the subscribe failed on

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.