Rice Pastry API

org.mpisws.p2p.transport.liveness
Interface LivenessListener<Identifier>

All Known Implementing Classes:
BootstrapApp, PNSBootstrapApp, PriorityTransportLayerImpl, RapidRerouter, SourceRouteManagerImpl, TLPastryNode

public interface LivenessListener<Identifier>

Notified of liveness changes.

Author:
Jeff Hoye

Field Summary
static int LIVENESS_ALIVE
           
static int LIVENESS_DEAD
           
static int LIVENESS_DEAD_FOREVER
           
static int LIVENESS_SUSPECTED
           
 
Method Summary
 void livenessChanged(Identifier i, int val, java.util.Map<java.lang.String,java.lang.Integer> options)
          Called when the liveness changes.
 

Field Detail

LIVENESS_ALIVE

static final int LIVENESS_ALIVE
See Also:
Constant Field Values

LIVENESS_SUSPECTED

static final int LIVENESS_SUSPECTED
See Also:
Constant Field Values

LIVENESS_DEAD

static final int LIVENESS_DEAD
See Also:
Constant Field Values

LIVENESS_DEAD_FOREVER

static final int LIVENESS_DEAD_FOREVER
See Also:
Constant Field Values
Method Detail

livenessChanged

void livenessChanged(Identifier i,
                     int val,
                     java.util.Map<java.lang.String,java.lang.Integer> options)
Called when the liveness changes.

Parameters:
i -
val -

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection