com.sun.management.snmp.agent
Interface SnmpTableCallbackHandler

All Known Subinterfaces:
SnmpTableEntryFactory
All Known Implementing Classes:
SnmpTableSupport, TableUsmUserTable, TableUsmUserTableImpl

public interface SnmpTableCallbackHandler

This interface ensures the synchronization between Metadata table objects and bean-like table objects. It is used between mibgen generated table meta and table classes.

You should never need to use this interface directly.

Since:
Java DMK 5.1

Method Summary
 void addEntryCb(int pos, SnmpOid row, ObjectName name, Object entry, SnmpMibTable meta)
          This method is called by the SNMP runtime after a new entry has been added to the table.
 void removeEntryCb(int pos, SnmpOid row, ObjectName name, Object entry, SnmpMibTable meta)
          This method is called by the SNMP runtime after a new entry has been removed from the table.
 

Method Detail

addEntryCb

void addEntryCb(int pos,
                SnmpOid row,
                ObjectName name,
                Object entry,
                SnmpMibTable meta)
                throws SnmpStatusException
This method is called by the SNMP runtime after a new entry has been added to the table. If an SnmpStatusException is raised, the entry will be removed and the operation will be aborted. In this case, the removeEntryCb() callback will not be called.

You should never need to use this method directly.

Throws:
SnmpStatusException

removeEntryCb

void removeEntryCb(int pos,
                   SnmpOid row,
                   ObjectName name,
                   Object entry,
                   SnmpMibTable meta)
                   throws SnmpStatusException
This method is called by the SNMP runtime after a new entry has been removed from the table. If raised, SnmpStatusException will be ignored.

You should never need to use this method directly.

Throws:
SnmpStatusException

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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