public class

SnmpTableEntryNotification

extends Notification
java.lang.Object
   ↳ java.util.EventObject
     ↳ javax.management.Notification
       ↳ com.sun.jmx.snmp.agent.SnmpTableEntryNotification

Class Overview

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.

Summary

Constants
String SNMP_ENTRY_ADDED Notification type denoting that a new entry has been added to the SNMP table.
String SNMP_ENTRY_REMOVED Notification type denoting that an entry has been removed from the SNMP table.
[Expand]
Inherited Fields
From class javax.management.Notification
From class java.util.EventObject
Public Methods
Object getEntry()
Gets the entry object.
ObjectName getEntryName()
Gets the ObjectName of the entry.
[Expand]
Inherited Methods
From class javax.management.Notification
From class java.util.EventObject
From class java.lang.Object

Constants

public static final String SNMP_ENTRY_ADDED

Notification 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.

Constant Value: "jmx.snmp.table.entry.added"

public static final String SNMP_ENTRY_REMOVED

Notification type denoting that an entry has been removed from the SNMP table.
The value of this notification type is jmx.snmp.table.entry.removed.

Constant Value: "jmx.snmp.table.entry.removed"

Public Methods

public 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).

Returns
  • The entry.

public ObjectName getEntryName ()

Gets the ObjectName of the entry. May be null if the entry is not registered in the MBeanServer.

Returns
  • The ObjectName of the entry.