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

bboss.org.jgroups.SetStateEvent Maven / Gradle / Ivy

The newest version!
// $Id: SetStateEvent.java,v 1.6 2006/03/17 09:04:45 belaban Exp $

package bboss.org.jgroups;






/**
 * Encapsulates a state returned by Channel.receive(), as requested by
 * Channel.getState(s) previously.
 * @author Bela Ban
 * @version $Id: SetStateEvent.java,v 1.6 2006/03/17 09:04:45 belaban Exp $
 */
public class SetStateEvent {
    byte[]     state=null;
    String     state_id=null;

    public SetStateEvent(byte[] state, String state_id) {
        this.state=state;
        this.state_id=state_id;
    }


    public byte[] getArg() {return state;}
    public String getStateId() {return state_id;}

    public String toString() {return "SetStateEvent[state=" + state + ", state_id=" + state_id + ']';}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy