Class Event


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

      • Event

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

      • 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