ostore.tapestry.patchwork
Class FaultController

java.lang.Object
  |
  +--ostore.tapestry.patchwork.FaultController

public class FaultController
extends Object

This is a data structure that decides whether or not a message should be dropped on its way through the Router.

Version:
$Id: FaultController.java,v 1.3 2003/01/29 22:40:50 strib Exp $
Author:
Jeremy Stribling

Constructor Summary
FaultController()
           
 
Method Summary
 boolean dropMessage(NodeId peer)
          Decide whether or not to drop a message, based on previously received loss rates.
 void updateFaults(RouterFaultMsg rfm)
          Called when a new RouterFaultMsg is received by the Router
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultController

public FaultController()
Method Detail

updateFaults

public void updateFaults(RouterFaultMsg rfm)
Called when a new RouterFaultMsg is received by the Router

dropMessage

public boolean dropMessage(NodeId peer)
Decide whether or not to drop a message, based on previously received loss rates.