org.netxms.client.events
Class EventInfo
java.lang.Object
org.netxms.client.events.EventInfo
public class EventInfo
- extends java.lang.Object
Information about NetXMS event
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventInfo
public EventInfo(NXCPMessage msg,
long baseId,
EventInfo parent)
- Create from NXCP message.
- Parameters:
msg
- baseId
-
getId
public long getId()
- Returns:
- the id
getParent
public EventInfo getParent()
- Returns:
- parent event or null
getTimeStamp
public java.util.Date getTimeStamp()
- Returns:
- the timeStamp
getSourceObjectId
public long getSourceObjectId()
- Returns:
- the sourceObjectId
getCode
public int getCode()
- Returns:
- the code
getName
public java.lang.String getName()
- Returns:
- the name
getSeverity
public int getSeverity()
- Returns:
- the severity
getMessage
public java.lang.String getMessage()
- Returns:
- the message
getChildren
public EventInfo[] getChildren()
- Returns:
- the children
hasChildren
public boolean hasChildren()
- Returns:
Copyright © 2013. All Rights Reserved.