org.snmp4j.agent.agentx.master
Class MasterContextInfo
java.lang.Object
org.snmp4j.agent.agentx.master.MasterContextInfo
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class MasterContextInfo
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
An AgentX master agent needs to manage certain context related information
which this class holds. The most important of this information is the
context's up time (derived from the sysUpTime object of the context - if
present).
- Version:
- 1.0
- Author:
- Frank Fock
- See Also:
- Serialized Form
|
Constructor Summary |
MasterContextInfo(org.snmp4j.smi.OctetString context,
org.snmp4j.agent.mo.snmp.SysUpTime contextUpTime)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterContextInfo
public MasterContextInfo(org.snmp4j.smi.OctetString context,
org.snmp4j.agent.mo.snmp.SysUpTime contextUpTime)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
getContext
public org.snmp4j.smi.OctetString getContext()
getUpTime
public org.snmp4j.agent.mo.snmp.SysUpTime getUpTime()
Copyright © 2011 SNMP4J.org. All Rights Reserved.