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 boolean
equals(java.lang.Object obj)
java.net.InetAddress
getAddress()
JoeSnmpTrapNotifier
getHandler()
int
getPort()
SnmpTrapSession
getSession()
int
hashCode()
void
setHandler(JoeSnmpTrapNotifier trapHandler)
void
setSession(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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-