Package org.opennms.netmgt.trapd
Class TrapInformationWrapper
- java.lang.Object
-
- org.opennms.netmgt.trapd.TrapInformationWrapper
-
- All Implemented Interfaces:
Message
public class TrapInformationWrapper extends java.lang.Object implements Message
Wrapper to make theTrapInformation
object Sink API compatible, without adding the dependency to the sink-api module.- Author:
- mvrueden
-
-
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 TrapInformationWrapper(TrapInformation trapInformation)
TrapInformationWrapper(TrapDTO trapDTO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
getTrapAddress()
TrapDTO
getTrapDTO()
TrapInformation
getTrapInformation()
void
setTrapAddress(java.net.InetAddress trapAddress)
-
-
-
Constructor Detail
-
TrapInformationWrapper
public TrapInformationWrapper(TrapInformation trapInformation) throws SnmpException
- Throws:
SnmpException
-
TrapInformationWrapper
public TrapInformationWrapper(TrapDTO trapDTO)
-
-
Method Detail
-
getTrapInformation
public TrapInformation getTrapInformation()
-
getTrapDTO
public TrapDTO getTrapDTO()
-
getTrapAddress
public java.net.InetAddress getTrapAddress()
-
setTrapAddress
public void setTrapAddress(java.net.InetAddress trapAddress)
-
-