- 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 ResponseListenerlistenerprivate PDUrequest
-
Constructor Summary
Constructors Constructor Description AsyncRequestKey(PDU request, ResponseListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Indicates whether some other object is "equal to" this one.inthashCode()
-
-
-
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:
equalsin classjava.lang.Object- Parameters:
obj- the reference object with which to compare.- Returns:
trueif this object is the same as the obj argument;falseotherwise.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-