com.sun.management.snmp.agent
Class SnmpTableEntryNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended bycom.sun.management.snmp.agent.SnmpTableEntryNotification
All Implemented Interfaces:
Serializable

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:

Since:
Java DMK 5.1
Version:
4.12 04/16/04
Author:
Sun Microsystems, Inc
See Also:
Serialized Form

Field Summary
static String SNMP_ENTRY_ADDED
          Notification type denoting that a new entry has been added to the SNMP table.
static String SNMP_ENTRY_REMOVED
          Notification type denoting that an entry has been removed from the SNMP table.
 
Fields inherited from class javax.management.Notification
source
 
Method Summary
 Object getEntry()
          Gets the entry object.
 ObjectName getEntryName()
          Gets the ObjectName of the entry.
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SNMP_ENTRY_ADDED

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 jdmk.snmp.table.entry.added.


SNMP_ENTRY_REMOVED

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.

Method Detail

getEntry

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.

getEntryName

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.

FCS Release
jdmk-5_1-b34.1 2005.02.10_16:46:09_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.