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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RegistrationInfo(TrapNotificationListener listener, int trapPort)RegistrationInfo(TrapNotificationListener listener, java.net.InetAddress address, int snmpTrapPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.net.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, java.net.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 java.net.InetAddress getAddress()
-
getPort
public int getPort()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-