|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.ce.monitorapij.sensor.MonitorEvent
This class represents an event generated by the monitor.
Constructor Summary | |
MonitorEvent()
Creates a new MonitorEvent object. |
|
MonitorEvent(int eventID,
long when)
Creates a new MonitorEvent object with specified eventID and creation time. |
Method Summary | |
int |
getID()
Get the eventID. |
java.lang.String |
getIDStringValue()
Get the identificative String of the event. |
java.lang.String |
getMessage()
Get the message of the MonitorEvent. |
long |
getWhen()
Get the creation time of the MonitorEvent. |
void |
setID(int id)
Set eventID. |
void |
setIDStringValue(java.lang.String value)
Set the identificative String of the event. |
void |
setMessage(java.lang.String msg)
Set the message of the MonitorEvent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MonitorEvent()
public MonitorEvent(int eventID, long when)
eventID
- This is an int identifying a type of message.when
- The creation time expressed in milliseconds.Method Detail |
public int getID()
public void setID(int id)
id
- The eventID will be set to this int valuepublic java.lang.String getIDStringValue()
public void setIDStringValue(java.lang.String value)
public long getWhen()
public java.lang.String getMessage()
public void setMessage(java.lang.String msg)
msg
- String representing the message of the MonitorEvent.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |