org.snmp4j.agent.mo.jmx
Interface JMXNotificationIndexSupport

All Known Implementing Classes:
JMXAttributeNotificationIndexSupport

public interface JMXNotificationIndexSupport

Notification objects can refer to scalar and tabular data. Whereas for scalar data the OID of the instance is constant, the index portion of the instance identifier of tabular data may vary from notification to notification.

This interface provides the means needed by a MBeanNotificationInfo instance to send a notification referring to tabular data.

Version:
1.0
Author:
Frank Fock

Method Summary
 org.snmp4j.smi.OID getIndex(int objectIndex)
          Gets the index portion for the object with the specified index in the notification.
 void intialize(java.lang.Object notificationUserObject)
          Initialize the index support instance with the MBean notification object.
 

Method Detail

intialize

void intialize(java.lang.Object notificationUserObject)
Initialize the index support instance with the MBean notification object.

Parameters:
notificationUserObject - an Object that contains or refers to the payload data of the notification.

getIndex

org.snmp4j.smi.OID getIndex(int objectIndex)
Gets the index portion for the object with the specified index in the notification.

Parameters:
objectIndex - a zero based index into the SNMP notification objects.
Returns:
OID a row index for the n-th notification object.

Copyright 2006-2007 Frank Fock (SNMP4J.org)