SnmpTableEntryNotificationpublic class SnmpTableEntryNotification extends Notification Represents a notification emitted when an
entry is added or deleted from an SNMP table.
The SnmpTableEntryNotification object contains
the reference to the entry added or removed from the table.
The list of notifications fired by the SnmpMibTable is
the following:
- A new entry has been added to the SNMP table.
- An existing entry has been removed from the SNMP table.
This API is a Sun Microsystems internal API and is subject
to change without notice. |
Fields Summary |
---|
public static final String | SNMP_ENTRY_ADDEDNotification type denoting that a new entry has been added to the
SNMP table.
The value of this notification type is
jmx.snmp.table.entry.added . | public static final String | SNMP_ENTRY_REMOVEDNotification type denoting that an entry has been removed from the
SNMP table.
The value of this notification type is
jmx.snmp.table.entry.removed . | private final Object | entryThe entry object. | private final ObjectName | nameThe entry name. | private static final long | serialVersionUID |
Constructors Summary |
---|
SnmpTableEntryNotification(String type, Object source, long sequenceNumber, long timeStamp, Object entry, ObjectName entryName)Creates and initializes a table entry notification object.
super(type, source, sequenceNumber, timeStamp);
this.entry = entry;
this.name = entryName;
|
Methods Summary |
---|
public java.lang.Object | getEntry()Gets the entry object.
May be null if the entry is registered in the MBeanServer, and the
MIB is using the generic MetaData (see mibgen).
return entry;
| public javax.management.ObjectName | getEntryName()Gets the ObjectName of the entry.
May be null if the entry is not registered in the MBeanServer.
return name;
|
|