org.netxms.client.snmp
Class SnmpTrapLogRecord
java.lang.Object
org.netxms.client.snmp.SnmpTrapLogRecord
public class SnmpTrapLogRecord
- extends java.lang.Object
Object representing single SNMP trap log record
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpTrapLogRecord
public SnmpTrapLogRecord(NXCPMessage msg,
long baseId)
- Create record from NXCP message
- Parameters:
msg
- NXCP messagebaseId
- base variable id
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.