Class IndexEntry
java.lang.Object
org.snmp4j.agent.agentx.master.index.IndexEntry
- All Implemented Interfaces:
Comparable<Object>
- Direct Known Subclasses:
SubAgentXIndexEntry
-
Constructor Summary
ConstructorDescriptionIndexEntry
(int sessionID, org.snmp4j.smi.Variable indexValue) Creates an index entry. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
org.snmp4j.smi.Variable
Gets the index value.int
Gets the session ID.int
hashCode()
-
Constructor Details
-
IndexEntry
public IndexEntry(int sessionID, org.snmp4j.smi.Variable indexValue) Creates an index entry.- Parameters:
sessionID
- the session ID.indexValue
- the index value.
-
-
Method Details
-
getSessionID
public int getSessionID()Gets the session ID.- Returns:
- a session ID.
-
getIndexValue
public org.snmp4j.smi.Variable getIndexValue()Gets the index value.- Returns:
- an index value.
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
-