public class Snmp4jHeartbeatMib extends Object implements MOGroup, RowStatusListener, MOTableRowListener<Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlEntryRow>
Modifier and Type | Class and Description |
---|---|
class |
Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlEntryRow |
static class |
Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlRowStatusEnum |
static class |
Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlStorageTypeEnum |
class |
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime |
Modifier and Type | Field and Description |
---|---|
static int |
colSnmp4jAgentHBCtrlDelay |
static int |
colSnmp4jAgentHBCtrlEvents |
static int |
colSnmp4jAgentHBCtrlLastChange |
static int |
colSnmp4jAgentHBCtrlMaxEvents |
static int |
colSnmp4jAgentHBCtrlPeriod |
static int |
colSnmp4jAgentHBCtrlRowStatus |
static int |
colSnmp4jAgentHBCtrlStartTime |
static int |
colSnmp4jAgentHBCtrlStorageType |
static int |
idxSnmp4jAgentHBCtrlDelay |
static int |
idxSnmp4jAgentHBCtrlEvents |
static int |
idxSnmp4jAgentHBCtrlLastChange |
static int |
idxSnmp4jAgentHBCtrlMaxEvents |
static int |
idxSnmp4jAgentHBCtrlPeriod |
static int |
idxSnmp4jAgentHBCtrlRowStatus |
static int |
idxSnmp4jAgentHBCtrlStartTime |
static int |
idxSnmp4jAgentHBCtrlStorageType |
static org.snmp4j.smi.OID |
oidSnmp4jAgentHBCtrlEntry |
static org.snmp4j.smi.OID |
oidSnmp4jAgentHBEvent |
static org.snmp4j.smi.OID |
oidSnmp4jAgentHBRefTime |
static org.snmp4j.smi.OID |
oidTrapVarSnmp4jAgentHBCtrlEvents |
Constructor and Description |
---|
Snmp4jHeartbeatMib(NotificationOriginator notificationOriginator,
org.snmp4j.smi.OctetString context,
SysUpTime upTime) |
Modifier and Type | Method and Description |
---|---|
MOTable |
getSnmp4jAgentHBCtrlEntry() |
void |
registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the
supplied context.
|
void |
rowChanged(MOTableRowEvent event)
A column or a complete row is changed/has been changed.
|
void |
rowStatusChanged(RowStatusEvent event) |
void |
snmp4jAgentHBEvent(NotificationOriginator notificationOriginator,
org.snmp4j.smi.OctetString context,
org.snmp4j.smi.VariableBinding[] vbs) |
void |
unregisterMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and
from the supplied context.
|
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBRefTime
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBEvent
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jAgentHBCtrlEvents
public static final org.snmp4j.smi.OID oidSnmp4jAgentHBCtrlEntry
public static final int colSnmp4jAgentHBCtrlStartTime
public static final int colSnmp4jAgentHBCtrlDelay
public static final int colSnmp4jAgentHBCtrlPeriod
public static final int colSnmp4jAgentHBCtrlMaxEvents
public static final int colSnmp4jAgentHBCtrlEvents
public static final int colSnmp4jAgentHBCtrlLastChange
public static final int colSnmp4jAgentHBCtrlStorageType
public static final int colSnmp4jAgentHBCtrlRowStatus
public static final int idxSnmp4jAgentHBCtrlStartTime
public static final int idxSnmp4jAgentHBCtrlDelay
public static final int idxSnmp4jAgentHBCtrlPeriod
public static final int idxSnmp4jAgentHBCtrlMaxEvents
public static final int idxSnmp4jAgentHBCtrlEvents
public static final int idxSnmp4jAgentHBCtrlLastChange
public static final int idxSnmp4jAgentHBCtrlStorageType
public static final int idxSnmp4jAgentHBCtrlRowStatus
public Snmp4jHeartbeatMib(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, SysUpTime upTime)
public MOTable getSnmp4jAgentHBCtrlEntry()
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroup
registerMOs
in interface MOGroup
server
- the MOServer
where to register the managed objects.context
- the context to use (may be null
if no specific context
is selected).DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered
at the server.public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
MOGroup
unregisterMOs
in interface MOGroup
server
- the MOServer
where to unregister the managed objects.context
- the context to use (may be null
if no specific context
is selected).public void snmp4jAgentHBEvent(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
public void rowStatusChanged(RowStatusEvent event)
rowStatusChanged
in interface RowStatusListener
public void rowChanged(MOTableRowEvent event)
MOTableRowListener
rowChanged
in interface MOTableRowListener<Snmp4jHeartbeatMib.Snmp4jAgentHBCtrlEntryRow>
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 © 2018 SNMP4J.org. All rights reserved.