Class IndexEntry
java.lang.Object
org.snmp4j.agent.agentx.master.index.IndexEntry
- All Implemented Interfaces:
Comparable<Object>
- Direct Known Subclasses:
SubAgentXIndexEntry
-
Constructor Summary
ConstructorsConstructorDescriptionIndexEntry(int sessionID, org.snmp4j.smi.Variable indexValue) Creates an index entry. -
Method Summary
Modifier and TypeMethodDescriptionintbooleanorg.snmp4j.smi.VariableGets the index value.intGets the session ID.inthashCode()
-
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:
compareToin interfaceComparable<Object>
-