Package org.opennms.netmgt.snmp.joesnmp
Class JoeSnmpStrategy.RegistrationInfo
- java.lang.Object
-
- org.opennms.netmgt.snmp.joesnmp.JoeSnmpStrategy.RegistrationInfo
-
- Enclosing class:
- JoeSnmpStrategy
public static class JoeSnmpStrategy.RegistrationInfo extends Object
-
-
Constructor Summary
Constructors Constructor Description RegistrationInfo(TrapNotificationListener listener, int trapPort)RegistrationInfo(TrapNotificationListener listener, InetAddress address, int snmpTrapPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)InetAddressgetAddress()JoeSnmpTrapNotifiergetHandler()intgetPort()SnmpTrapSessiongetSession()inthashCode()voidsetHandler(JoeSnmpTrapNotifier trapHandler)voidsetSession(SnmpTrapSession trapSession)
-
-
-
Constructor Detail
-
RegistrationInfo
public RegistrationInfo(TrapNotificationListener listener, int trapPort)
-
RegistrationInfo
public RegistrationInfo(TrapNotificationListener listener, InetAddress address, int snmpTrapPort)
-
-
Method Detail
-
setSession
public void setSession(SnmpTrapSession trapSession)
-
getSession
public SnmpTrapSession getSession()
-
setHandler
public void setHandler(JoeSnmpTrapNotifier trapHandler)
-
getHandler
public JoeSnmpTrapNotifier getHandler()
-
getAddress
public InetAddress getAddress()
-
getPort
public int getPort()
-
-