Package org.opennms.netmgt.snmp.snmp4j
Class Snmp4JStrategy.RegistrationInfo
- java.lang.Object
-
- org.opennms.netmgt.snmp.snmp4j.Snmp4JStrategy.RegistrationInfo
-
- Enclosing class:
- Snmp4JStrategy
public static class Snmp4JStrategy.RegistrationInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description RegistrationInfo(TrapNotificationListener listener, InetAddress address, int snmpTrapPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
InetAddress
getAddress()
Snmp4JTrapNotifier
getHandler()
int
getPort()
org.snmp4j.Snmp
getSession()
org.snmp4j.TransportMapping<org.snmp4j.smi.UdpAddress>
getTransportMapping()
int
hashCode()
void
setHandler(Snmp4JTrapNotifier trapHandler)
void
setSession(org.snmp4j.Snmp trapSession)
void
setTransportMapping(org.snmp4j.TransportMapping<org.snmp4j.smi.UdpAddress> transport)
-
-
-
Constructor Detail
-
RegistrationInfo
public RegistrationInfo(TrapNotificationListener listener, InetAddress address, int snmpTrapPort)
-
-
Method Detail
-
setSession
public void setSession(org.snmp4j.Snmp trapSession)
-
getSession
public org.snmp4j.Snmp getSession()
-
setHandler
public void setHandler(Snmp4JTrapNotifier trapHandler)
-
getHandler
public Snmp4JTrapNotifier getHandler()
-
getAddress
public InetAddress getAddress()
-
getPort
public int getPort()
-
setTransportMapping
public void setTransportMapping(org.snmp4j.TransportMapping<org.snmp4j.smi.UdpAddress> transport)
-
getTransportMapping
public org.snmp4j.TransportMapping<org.snmp4j.smi.UdpAddress> getTransportMapping()
-
-