Package org.netxms.client.events
Class EventInfo
java.lang.Object
org.netxms.client.events.EventInfo
Information about NetXMS event
- 
Constructor SummaryConstructorsConstructorDescriptionEventInfo(NXCPMessage msg, long baseId, EventInfo parent) Create from NXCP message.
- 
Method Summary
- 
Constructor Details- 
EventInfoCreate from NXCP message.- Parameters:
- msg- NXCP message
- baseId- base field ID
- parent- parent event (the one this event is correlated to) or null
 
 
- 
- 
Method Details- 
getIdpublic long getId()Get unique event ID.- Returns:
- unique event ID
 
- 
getParentGet parent event.- Returns:
- parent event or null
 
- 
getTimeStamp- Returns:
- the timeStamp
 
- 
getSourceObjectIdpublic long getSourceObjectId()- Returns:
- the sourceObjectId
 
- 
getCodepublic int getCode()- Returns:
- the code
 
- 
getNameGet event name- Returns:
- event name
 
- 
getSeveritypublic int getSeverity()- Returns:
- the severity
 
- 
getMessage- Returns:
- the message
 
- 
getChildren- Returns:
- the children
 
- 
hasChildrenpublic boolean hasChildren()Check if this object has children- Returns:
- true if this object has children
 
 
-