org.netxms.client.snmp
Class SnmpTrapLogRecord

java.lang.Object
  extended by org.netxms.client.snmp.SnmpTrapLogRecord

public class SnmpTrapLogRecord
extends java.lang.Object

Object representing single SNMP trap log record


Constructor Summary
SnmpTrapLogRecord(NXCPMessage msg, long baseId)
          Create record from NXCP message
 
Method Summary
 long getId()
           
 java.net.InetAddress getSourceAddress()
           
 long getSourceNode()
           
 java.util.Date getTimestamp()
           
 java.lang.String getTrapObjectId()
           
 java.lang.String getVarbinds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpTrapLogRecord

public SnmpTrapLogRecord(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 java.util.Date getTimestamp()
Returns:
the timestamp

getSourceAddress

public java.net.InetAddress getSourceAddress()
Returns:
the sourceAddress

getSourceNode

public long getSourceNode()
Returns:
the sourceNode

getTrapObjectId

public java.lang.String getTrapObjectId()
Returns:
the trapObjectId

getVarbinds

public java.lang.String getVarbinds()
Returns:
the varbinds


Copyright © 2012. All Rights Reserved.