org.netxms.client.events
Class EventInfo

java.lang.Object
  extended by org.netxms.client.events.EventInfo

public class EventInfo
extends java.lang.Object

Information about NetXMS event


Constructor Summary
EventInfo(NXCPMessage msg, long baseId, EventInfo parent)
          Create from NXCP message.
 
Method Summary
 EventInfo[] getChildren()
           
 int getCode()
           
 long getId()
           
 java.lang.String getMessage()
           
 java.lang.String getName()
           
 EventInfo getParent()
           
 int getSeverity()
           
 long getSourceObjectId()
           
 java.util.Date getTimeStamp()
           
 boolean hasChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventInfo

public EventInfo(NXCPMessage msg,
                 long baseId,
                 EventInfo parent)
Create from NXCP message.

Parameters:
msg -
baseId -
Method Detail

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.