|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--magician.Node.KUSmartPacketV2 | +--atropos.lp.AvnmpBase | +--atropos.lp.AvnmpBW | +--atropos.lp.AvnmpPacket
I am a virtual message. Compare the actual and predicted values of the application being monitored for out-of-tolerance rollback. This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Field Summary | |
byte |
anti
Anti-Message Toggle |
static byte |
antiMessage
Indentifies this as an anti message. |
java.lang.String |
Dst
Destination Node |
java.lang.Object |
payload
Payload The Payload object is expected to include a method to check the prediction accuracy. |
static byte |
realMessage
Indentifies this as a real message. |
long |
rec_tm
Receive Time |
long |
snd_tm
Send Time |
java.lang.String |
Src
Source Node |
static byte |
virtualMessage
Indentifies this as a virtual message. |
Fields inherited from class atropos.lp.AvnmpBW |
context |
Fields inherited from class magician.Node.KUSmartPacketV2 |
CPU_Requirements, Destination_Address, halted, IO_BW_Requirements, Memory_Requirements, NextHop, PacketID, Source_Address, thisNode, TypeID |
Constructor Summary | |
AvnmpPacket()
Create an empty packet |
|
AvnmpPacket(AvnmpLP mylp)
Create a dummy packet. |
|
AvnmpPacket(AvnmpPacket p)
Create a new packet based on an input packet. |
|
AvnmpPacket(byte a,
java.lang.String Source,
long rt,
long st,
AvnmpLP mylp)
Create a packet based on all parameters specified. |
|
AvnmpPacket(byte a,
java.lang.String Source,
long rt,
java.lang.String Destination,
long st,
java.lang.Object pl)
Create a packet based on all parameters specified in detail. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
compPred()
This is a stub which allows base performance to be tested without rollback or state checking overhead. |
boolean |
compPred(java.lang.String oid,
AvnmpState st,
AvnmpPacket sqp,
AvnmpLP mylp)
Compute the prediction accuracy of AVNMP based on either state or the packet in the send queue cached closest to the current time. |
boolean |
equals(java.lang.Object obj)
|
boolean |
isAnti()
Check if packet is an anti-message. |
boolean |
isAnti(AvnmpPacket ap)
Determine whether the input packet is an anti-message of this message. |
boolean |
isEqual(AvnmpPacket ap)
Check if packets are equal. |
boolean |
isGvtReportInput()
Check if packet is a Gvt calculation report packet. |
boolean |
isGvtUpdateRequest()
Check if packet is a Gvt start calculation packet. |
boolean |
isGvtUpdateResponse()
Check if packet is a Gvt response calculation packet. |
boolean |
isReal()
Determine whether this message is real. |
boolean |
isVirtual()
Determine whether this message is real or virtual. |
boolean |
isVirtual(AvnmpLP mylp,
AvnmpTime st)
Determine whether this message is real or virtual. |
java.lang.String |
toString()
Display the packet in human readable format. |
Methods inherited from class atropos.lp.AvnmpBW |
exec, queueSize, recvRate, xmitRate |
Methods inherited from class magician.Node.KUSmartPacketV2 |
AcquireSmallState, build, CreateSmallState, describeComponents, DestroySmallState, GetCanonicalAddress, getExecTime, GetLinkLayerAddress, GetNetName, GetNextHop, GetNodeName, GetNumberOfHops, GetService, GetSmallState, GetSmallState, getSourceAddress, getTypeId, halt, pathNotFound, run, SendForProcessing, SendSmartPacket, SendSmartPacket, SetSmallState, sleep, stop, yield |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public byte anti
public java.lang.String Src
public long rec_tm
public java.lang.String Dst
public long snd_tm
public java.lang.Object payload
public static final byte antiMessage
public static final byte realMessage
public static final byte virtualMessage
Constructor Detail |
public AvnmpPacket()
public AvnmpPacket(AvnmpPacket p)
p
- Packet to duplicate.public AvnmpPacket(AvnmpLP mylp)
public AvnmpPacket(byte a, java.lang.String Source, long rt, java.lang.String Destination, long st, java.lang.Object pl)
a
- Anti-toggleSource
- The packet source nodert
- The packet receive timeDestination
- The packet destination nodest
- The packet send timepl
- The packet payload.public AvnmpPacket(byte a, java.lang.String Source, long rt, long st, AvnmpLP mylp)
a
- Anti-toggleSource
- The packet source nodert
- The packet receive timeDestination
- The packet destination nodest
- The packet send timeMethod Detail |
public boolean compPred() throws ToleranceException
public boolean compPred(java.lang.String oid, AvnmpState st, AvnmpPacket sqp, AvnmpLP mylp) throws ToleranceException
oid
- The object identifier of the actual application value.st
- The closest cached state. Can be null if no state available.sqp
- The closest cached send queue packet. Can be null if no packet available.mylp
- This logical process.public java.lang.String toString()
toString
in class java.lang.Object
public boolean isVirtual()
public boolean isReal()
public boolean isVirtual(AvnmpLP mylp, AvnmpTime st)
public boolean isAnti(AvnmpPacket ap)
ap
- A packet containing a possible anti-message of the
current message.public boolean isEqual(AvnmpPacket ap)
ap
- The packet which is checked for equality with this
packet.public boolean isGvtUpdateRequest()
public boolean isGvtUpdateResponse()
public boolean isGvtReportInput()
public boolean isAnti()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |