|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.interfaces.snmp.alarms.SNMPAlarmMIB
public class SNMPAlarmMIB
Implementation of the alarm part of the JASMINe MIB.
This MIB only contains a tabular object: the alarms' data.
This class must only be manipulated via its unique instance.
| Field Summary | |
|---|---|
static org.snmp4j.smi.OID |
oidAlarmDataEntry
The identifier of the branch containing the alarm data entries |
static org.snmp4j.smi.OID |
oidAlarmDataEntryIndex
The identifier of the branch containing the alarm data entries |
static org.snmp4j.smi.OID |
oidAlarmDataTable
The identifier of the branch containing the alarm data table |
static org.snmp4j.smi.OID |
oidAlarmRaised
The identifier of the leaf representing the alarm raised notification |
static org.snmp4j.smi.OID |
oidJASMINe
The identifier of the JASMINe branch |
static org.snmp4j.smi.OID |
oidJASMINeAlarmNotifications
The identifier of the Alarm notifications branch |
static org.snmp4j.smi.OID |
oidJASMINeAlarmObjects
The identifier of the Alarm objects branch |
static org.snmp4j.smi.OID |
oidJASMINeAlarms
The identifier of the Alarms branch |
| Method Summary | |
|---|---|
org.objectweb.jasmine.rules.logs.util.AlarmLog |
getAlarm(int id)
Retrieves information on the specified alarm from the log interface. |
static SNMPAlarmMIB |
getInstance()
Gets the only instance available. |
void |
notifyAlarm(int id)
Sends a notification and adds a reference to the specified alarm in the MIB. |
void |
registerMOs(org.snmp4j.agent.MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this MIB to the specified server with the supplied context. |
void |
unregisterMOs(org.snmp4j.agent.MOServer server,
org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and from the supplied context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.snmp4j.smi.OID oidJASMINe
public static final org.snmp4j.smi.OID oidJASMINeAlarms
public static final org.snmp4j.smi.OID oidJASMINeAlarmObjects
public static final org.snmp4j.smi.OID oidAlarmDataTable
public static final org.snmp4j.smi.OID oidAlarmDataEntry
public static final org.snmp4j.smi.OID oidAlarmDataEntryIndex
public static final org.snmp4j.smi.OID oidJASMINeAlarmNotifications
public static final org.snmp4j.smi.OID oidAlarmRaised
| Method Detail |
|---|
public static SNMPAlarmMIB getInstance()
public void notifyAlarm(int id)
id - id of the alarm to be referenced.public org.objectweb.jasmine.rules.logs.util.AlarmLog getAlarm(int id)
id - id of the alarm.
public void registerMOs(org.snmp4j.agent.MOServer server,
org.snmp4j.smi.OctetString context)
throws org.snmp4j.agent.DuplicateRegistrationException
registerMOs in interface org.snmp4j.agent.MOGroupserver - the server where to register the managed objects.context - the context to use.
org.snmp4j.agent.DuplicateRegistrationException
public void unregisterMOs(org.snmp4j.agent.MOServer server,
org.snmp4j.smi.OctetString context)
unregisterMOs in interface org.snmp4j.agent.MOGroupserver - the server where to unregister the managed objects.context - the context to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||