All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ajanta.agent.NotificationRecord

java.lang.Object
   |
   +----ajanta.agent.NotificationRecord

public class NotificationRecord
extends Object
implements Serializable
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.


Variable Index

 o ex
Exception encountered by the agent
 o message
Message indicating any possible reason for exception or any other pertinent information if successful.
 o setAtServer
URN of the server where exception was encountered
 o setAtTime
Time when this record was created
 o setBy
URN of the creator of the NotificationRecord
 o status
true means OK else there was some exception

Constructor Index

 o NotificationRecord(boolean, Exception, URN, String)

Variables

 o status
 public boolean status
true means OK else there was some exception

 o ex
 public Exception ex
Exception encountered by the agent

 o setBy
 public URN setBy
URN of the creator of the NotificationRecord

 o setAtServer
 public URN setAtServer
URN of the server where exception was encountered

 o setAtTime
 public Date setAtTime
Time when this record was created

 o message
 public String message
Message indicating any possible reason for exception or any other pertinent information if successful.

Constructors

 o NotificationRecord
 public NotificationRecord(boolean stat,
                           Exception ex,
                           URN whoSetThis,
                           String message)
Parameters:
stat - true for successful false otherwise
ex - Exception object encountered by the agent
whoSetThis - URN of the creator of the NotificationRecord
message - Message indicating any possible reason for exception or any other pertinent information if successful.

All Packages  Class Hierarchy  This Package  Previous  Next  Index