Package org.opennms.netmgt.trapd
Class TrapDTO
- java.lang.Object
-
- org.opennms.netmgt.trapd.TrapDTO
-
-
Field Summary
-
Fields inherited from interface org.opennms.core.ipc.sink.api.Message
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
-
-
Constructor Summary
Constructors Constructor Description TrapDTO()TrapDTO(TrapInformation trapInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InetAddressgetAgentAddress()StringgetCommunity()longgetCreationTime()intgetPduLength()byte[]getRawMessage()List<SnmpResult>getResults()longgetTimestamp()TrapIdentityDTOgetTrapIdentity()StringgetVersion()inthashCode()voidsetAgentAddress(InetAddress agentAddress)voidsetCommunity(String community)voidsetCreationTime(long creationTime)voidsetPduLength(int pduLength)voidsetRawMessage(byte[] rawMessage)voidsetTimestamp(long timestamp)voidsetTrapIdentity(TrapIdentityDTO trapIdentity)voidsetVersion(String version)StringtoString()
-
-
-
Constructor Detail
-
TrapDTO
public TrapDTO()
-
TrapDTO
public TrapDTO(TrapInformation trapInfo)
-
-
Method Detail
-
setAgentAddress
public void setAgentAddress(InetAddress agentAddress)
-
getAgentAddress
public InetAddress getAgentAddress()
-
setCommunity
public void setCommunity(String community)
-
getCommunity
public String getCommunity()
-
setVersion
public void setVersion(String version)
-
getVersion
public String getVersion()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getTimestamp
public long getTimestamp()
-
setPduLength
public void setPduLength(int pduLength)
-
getPduLength
public int getPduLength()
-
setCreationTime
public void setCreationTime(long creationTime)
-
getCreationTime
public long getCreationTime()
-
setTrapIdentity
public void setTrapIdentity(TrapIdentityDTO trapIdentity)
-
getTrapIdentity
public TrapIdentityDTO getTrapIdentity()
-
getResults
public List<SnmpResult> getResults()
-
getRawMessage
public byte[] getRawMessage()
-
setRawMessage
public void setRawMessage(byte[] rawMessage)
-
-