- java.lang.Object
-
- org.snmp4j.Snmp.AsyncRequestKey
-
- Enclosing class:
- Snmp
static class Snmp.AsyncRequestKey extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ResponseListener
listener
private PDU
request
-
Constructor Summary
Constructors Constructor Description AsyncRequestKey(PDU request, ResponseListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.int
hashCode()
-
-
-
Field Detail
-
request
private PDU request
-
listener
private ResponseListener listener
-
-
Constructor Detail
-
AsyncRequestKey
public AsyncRequestKey(PDU request, ResponseListener listener)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- the reference object with which to compare.- Returns:
true
if this object is the same as the obj argument;false
otherwise.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-