Class Event

java.lang.Object
org.netxms.client.events.Event

public class Event extends Object
Read-only representation of NetXMS event. Intended to be created only by client library communication module.
  • Constructor Details

    • Event

      public Event(NXCPMessage msg, long baseId)
      Create event object from NXCP message. Intended to be called only by NXCSession.
      Parameters:
      msg - NXCP message
      baseId - base field ID
  • Method Details

    • getId

      public long getId()
      Returns:
      the id
    • getCode

      public int getCode()
      Returns:
      the code
    • getTimeStamp

      public Date getTimeStamp()
      Returns:
      the timeStamp
    • getSourceId

      public long getSourceId()
      Returns:
      the sourceId
    • getDciId

      public long getDciId()
      Returns:
      the dciId
    • getSeverity

      public int getSeverity()
      Returns:
      the severity
    • getMessage

      public String getMessage()
      Returns:
      the message
    • getUserTag

      public String getUserTag()
      Returns:
      the userTag
    • getParameters

      public String[] getParameters()
      Returns:
      the parameters