All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.jaw.snmp.agent.SnmpMibTableRemCreate

java.lang.Object
   |
   +----com.sun.jaw.snmp.agent.internal.SnmpMibNode
           |
           +----com.sun.jaw.snmp.agent.SnmpMibTable
                   |
                   +----com.sun.jaw.snmp.agent.SnmpMibTableRemCreate

public abstract class SnmpMibTableRemCreate
extends SnmpMibTable
implements Serializable
The SnmpMibTableRemCreate is an abtraction for a SNMP table.

The behavior of the class allows to support entry creation when setting a value using an index which is not already defined in the table.

If you need to allow entry creation through a set operation, you need to change the inheritance of the class representing the table and generated by mibgen.


Constructor Index

 o SnmpMibTableRemCreate(SnmpMib)

Method Index

 o check(SnmpValue, long[], int)
generic handling of the check operation
 o createNewEntry(SnmpIndex)
Request creation of en entry in a table using the index as key values

Constructors

 o SnmpMibTableRemCreate
 public SnmpMibTableRemCreate(SnmpMib mib)

Methods

 o createNewEntry
 public abstract Object createNewEntry(SnmpIndex index) throws SnmpStatusException
Request creation of en entry in a table using the index as key values

Returns:
the newly created object
Throws: SnmpStatusException
The entry can not be created
 o check
 public void check(SnmpValue x,
                   long oid[],
                   int pos) throws SnmpStatusException
generic handling of the check operation

Throws: SnmpStatusException
An error occurred while accessing a MIB node.
Overrides:
check in class SnmpMibTable

All Packages  Class Hierarchy  This Package  Previous  Next  Index