Example #1
0
  private synchronized void timeout(Object o) {
    GroupCommEventArgs ga = new GroupCommEventArgs();
    final Transportable key = (Transportable) o;

    if (!timers.containsKey(key))
      // Timer already canceled
      return;

    ga.add(key);
    handlers.handleTimeout(ga);
  }
Example #2
0
  public synchronized void init() {
    try {
      GroupCommEventArgs initev = new GroupCommEventArgs();
      initev.addLast(stack.getGroup());
      handlers.handleInit(initev);
    } catch (Exception ex) {
      throw new RuntimeException("ProtocolFastAbcast: handleInit: " + ex.getMessage());
    }

    super.init();
  }
Example #3
0
 public synchronized void dump(OutputStream stream) {
   handlers.dump(stream);
 }