Class SnmpTrapLogRecord


  • public class SnmpTrapLogRecord
    extends Object
    Object representing single SNMP trap log record
    • Constructor Detail

      • SnmpTrapLogRecord

        public SnmpTrapLogRecord​(org.netxms.base.NXCPMessage msg,
                                 long baseId)
        Create record from NXCP message
        Parameters:
        msg - NXCP message
        baseId - base variable id
    • Method Detail

      • getId

        public long getId()
        Returns:
        the id
      • getTimestamp

        public Date getTimestamp()
        Returns:
        the timestamp
      • getSourceAddress

        public InetAddress getSourceAddress()
        Returns:
        the sourceAddress
      • getSourceNode

        public long getSourceNode()
        Returns:
        the sourceNode
      • getTrapObjectId

        public String getTrapObjectId()
        Returns:
        the trapObjectId
      • getVarbinds

        public String getVarbinds()
        Returns:
        the varbinds