ostore.network.patchwork
Class AlarmMsg

java.lang.Object
  |
  +--ostore.network.patchwork.AlarmMsg
All Implemented Interfaces:
PatchMsg, QueueElementIF

public final class AlarmMsg
extends Object
implements QueueElementIF, PatchMsg

An AlarmMsg is set by Patches to remind them when to wake up and send a probe or do some action.

Version:
$Id: AlarmMsg.java,v 1.2 2003/03/24 00:13:13 geels Exp $
Author:
Jeremy Stribling

Field Summary
 NodeId peer
           
 byte type
           
 
Constructor Summary
AlarmMsg(NodeId peer, byte type)
           
 
Method Summary
 Object clone()
           
 byte getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public byte type

peer

public NodeId peer
Constructor Detail

AlarmMsg

public AlarmMsg(NodeId peer,
                byte type)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object

getType

public byte getType()
Specified by:
getType in interface PatchMsg

toString

public String toString()
Overrides:
toString in class Object