Package org.netxms.client.snmp
Class SnmpTrapLogRecord
- java.lang.Object
-
- org.netxms.client.snmp.SnmpTrapLogRecord
-
public class SnmpTrapLogRecord extends Object
Object representing single SNMP trap log record
-
-
Constructor Summary
Constructors Constructor Description SnmpTrapLogRecord(org.netxms.base.NXCPMessage msg, long baseId)Create record from NXCP message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetId()InetAddressgetSourceAddress()longgetSourceNode()DategetTimestamp()StringgetTrapObjectId()StringgetVarbinds()
-
-
-
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
-
-