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.
-
ex
- Exception encountered by the agent
-
message
- Message indicating any possible reason for exception or any other
pertinent information if successful.
-
setAtServer
- URN of the server where exception was encountered
-
setAtTime
- Time when this record was created
-
setBy
- URN of the creator of the NotificationRecord
-
status
- true means OK else there was some exception
-
NotificationRecord(boolean, Exception, URN, String)
-
status
public boolean status
- true means OK else there was some exception
ex
public Exception ex
- Exception encountered by the agent
setBy
public URN setBy
- URN of the creator of the NotificationRecord
setAtServer
public URN setAtServer
- URN of the server where exception was encountered
setAtTime
public Date setAtTime
- Time when this record was created
message
public String message
- Message indicating any possible reason for exception or any other
pertinent information if successful.
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