ostore.network.patchwork
Class NodeStatusMsg
java.lang.Object
|
+--ostore.network.patchwork.NodeStatusMsg
- All Implemented Interfaces:
- QueueElementIF
- public class NodeStatusMsg
- extends Object
- implements QueueElementIF
Sent by Patchwork to other stages who care if nodes fail or come back.
Contains a status field, which denotes how the status of the node being
monitored has changed.
- Version:
- $Id: NodeStatusMsg.java,v 1.2 2003/02/25 23:21:24 strib Exp $
- Author:
- Jeremy Stribling
peer
public NodeId peer
status
public int status
userData
public Object userData
STATUS_DEAD
public static final int STATUS_DEAD
STATUS_ALIVE
public static final int STATUS_ALIVE
NodeStatusMsg
public NodeStatusMsg(NodeId peer,
int status,
Object userData)
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object