All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gemstone.org.jgroups.SuspectEvent Maven / Gradle / Ivy

There is a newer version: 2.0-BETA
Show newest version
/** Notice of modification as required by the LGPL
 *  This file was modified by Gemstone Systems Inc. on
 *  $Date$
 **/
// $Id: SuspectEvent.java,v 1.3 2005/07/17 11:38:05 chrislott Exp $

package com.gemstone.org.jgroups;

/**
 * Represents a suspect event.
 * Gives access to the suspected member.
 */
public class SuspectEvent {
    final Object suspected_mbr;
    final Object who_suspected; // GemStoneAddition

    public SuspectEvent(SuspectMember suspected_mbr) {
      this.suspected_mbr=suspected_mbr.suspectedMember;
      this.who_suspected=suspected_mbr.whoSuspected;
    }

    public Object getMember() {return suspected_mbr;}
    public Object getSuspector() { return who_suspected; } // GemStoneAddition
    @Override // GemStoneAddition
    public String toString() {return "SuspectEvent";}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy