FileDocCategorySizeDatePackage
SnmpTableEntryNotification.javaAPI DocJava SE 5 API3610Fri Aug 26 14:55:04 BST 2005com.sun.jmx.snmp.agent

SnmpTableEntryNotification

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

version
4.14 12/19/03
author
Sun Microsystems, Inc

Fields Summary
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.
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.
private final Object
entry
The entry object.
private final ObjectName
name
The 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.

param
type The notification type.
param
source The notification producer.
param
sequenceNumber The notification sequence number within the source object.
param
timeStamp The notification emission date.
param
entry The entry object (may be null if the entry is registered in the MBeanServer).
param
entryName The ObjectName entry object (may be null if the entry is not registered in the MBeanServer).
since
1.5

        
        super(type, source, sequenceNumber, timeStamp);
        this.entry = entry;
	this.name  = entryName;
    
Methods Summary
public java.lang.ObjectgetEntry()
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
The entry.

        return entry;
    
public javax.management.ObjectNamegetEntryName()
Gets the ObjectName of the entry. May be null if the entry is not registered in the MBeanServer.

return
The ObjectName of the entry.
since
1.5

        return name;