|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ajanta.agent.NotificationRecord
This class records the status of the agent at each server. If the status of an agent is not ok then it contains the exception that the agent encountered and could not handle it.
Field Summary | |
java.lang.Exception |
ex
Exception encountered by the agent |
java.lang.String |
message
Message indicating any possible reason for exception or any other pertinent information if successful. |
ajanta.naming.URN |
setAtServer
URN of the server where exception was encountered |
java.util.Date |
setAtTime
Time when this record was created |
ajanta.naming.URN |
setBy
URN of the creator of the NotificationRecord |
boolean |
status
true means OK else there was some exception |
Constructor Summary | |
NotificationRecord(boolean stat,
java.lang.Exception ex,
ajanta.naming.URN whoSetThis,
java.lang.String message)
|
Method Summary | |
void |
print()
Print notification record inforamtions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean status
public java.lang.Exception ex
public ajanta.naming.URN setBy
public ajanta.naming.URN setAtServer
public java.util.Date setAtTime
public java.lang.String message
Constructor Detail |
public NotificationRecord(boolean stat, java.lang.Exception ex, ajanta.naming.URN whoSetThis, java.lang.String message)
stat
- true for successful false otherwiseex
- Exception object encountered by the agentwhoSetThis
- URN of the creator of the NotificationRecordmessage
- Message indicating any possible reason for exception or any other
pertinent information if successful.Method Detail |
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |