org.snmp4j.agent.mo.snmp4j.example
Class Snmp4jHeartbeatMib
java.lang.Object
org.snmp4j.agent.mo.snmp4j.example.Snmp4jHeartbeatMib
- All Implemented Interfaces:
- java.util.EventListener, MOTableRowListener, RowStatusListener, MOGroup
public class Snmp4jHeartbeatMib
- extends java.lang.Object
- implements MOGroup, RowStatusListener, MOTableRowListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oidSnmp4jAgentHBRefTime
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBRefTime
oidSnmp4jAgentHBEvent
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBEvent
oidTrapVarSnmp4jAgentHBCtrlEvents
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jAgentHBCtrlEvents
oidSnmp4jAgentHBCtrlEntry
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBCtrlEntry
colSnmp4jAgentHBCtrlStartTime
public static final int colSnmp4jAgentHBCtrlStartTime
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlDelay
public static final int colSnmp4jAgentHBCtrlDelay
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlPeriod
public static final int colSnmp4jAgentHBCtrlPeriod
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlMaxEvents
public static final int colSnmp4jAgentHBCtrlMaxEvents
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlEvents
public static final int colSnmp4jAgentHBCtrlEvents
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlLastChange
public static final int colSnmp4jAgentHBCtrlLastChange
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlStorageType
public static final int colSnmp4jAgentHBCtrlStorageType
- See Also:
- Constant Field Values
colSnmp4jAgentHBCtrlRowStatus
public static final int colSnmp4jAgentHBCtrlRowStatus
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlStartTime
public static final int idxSnmp4jAgentHBCtrlStartTime
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlDelay
public static final int idxSnmp4jAgentHBCtrlDelay
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlPeriod
public static final int idxSnmp4jAgentHBCtrlPeriod
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlMaxEvents
public static final int idxSnmp4jAgentHBCtrlMaxEvents
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlEvents
public static final int idxSnmp4jAgentHBCtrlEvents
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlLastChange
public static final int idxSnmp4jAgentHBCtrlLastChange
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlStorageType
public static final int idxSnmp4jAgentHBCtrlStorageType
- See Also:
- Constant Field Values
idxSnmp4jAgentHBCtrlRowStatus
public static final int idxSnmp4jAgentHBCtrlRowStatus
- See Also:
- Constant Field Values
Snmp4jHeartbeatMib
public Snmp4jHeartbeatMib(NotificationOriginator notificationOriginator,
org.snmp4j.smi.OctetString context,
SysUpTime upTime)
getSnmp4jAgentHBCtrlEntry
public MOTable getSnmp4jAgentHBCtrlEntry()
registerMOs
public void registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
throws DuplicateRegistrationException
- Description copied from interface:
MOGroup
- Registers the managed objects of this group with the server for the
supplied context.
- Specified by:
registerMOs in interface MOGroup
- Parameters:
server - the MOServer where to register the managed objects.context - the context to use (may be null if no specific context
is selected).
- Throws:
DuplicateRegistrationException - if a managed object's scope (i.e. lower bound) is already registered
at the server.
unregisterMOs
public void unregisterMOs(MOServer server,
org.snmp4j.smi.OctetString context)
- Description copied from interface:
MOGroup
- Unregisters the managed objects of this group from the supplied server and
from the supplied context.
- Specified by:
unregisterMOs in interface MOGroup
- Parameters:
server - the MOServer where to unregister the managed objects.context - the context to use (may be null if no specific context
is selected).
snmp4jAgentHBEvent
public void snmp4jAgentHBEvent(NotificationOriginator notificationOriginator,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.VariableBinding[] vbs)
rowStatusChanged
public void rowStatusChanged(RowStatusEvent event)
- Specified by:
rowStatusChanged in interface RowStatusListener
rowChanged
public void rowChanged(MOTableRowEvent event)
- Description copied from interface:
MOTableRowListener
- A column or a complete row is changed/has been changed.
- Specified by:
rowChanged in interface MOTableRowListener
- Parameters:
event - a MOTableRowEvent describing the event. To veto the event
the MOTableRowEvent.setVetoStatus(int) and optionally also the
MOTableRowEvent.setVetoColumn(int) can be called.
Copyright © 2011 SNMP4J.org. All Rights Reserved.