FileDocCategorySizeDatePackage
SnmpSubSystem.javaAPI DocJava SE 5 API1858Fri Aug 26 14:55:06 BST 2005com.sun.jmx.snmp.internal

SnmpSubSystem

public interface SnmpSubSystem
SNMP sub system interface. To allow engine framework integration, a sub system must implement this interface. A sub system is a model manager. Every model is identified by an ID. A sub system can retrieve a previously registered model using this ID.

Every sub system is associated to its SNMP engine.

This API is a Sun Microsystems internal API and is subject to change without notice.

Fields Summary
Constructors Summary
Methods Summary
public voidaddModel(int id, SnmpModel model)
Adds a model to this sub system.

param
id The model ID.
param
model The model to add.

public com.sun.jmx.snmp.SnmpEnginegetEngine()
Returns the associated engine.

return
The engine.

public SnmpModelgetModel(int id)
Gets a model from this sub system.

param
id The model ID to get.
return
The model.

public int[]getModelIds()
Returns the set of model Ids that have been registered within the sub system.

public java.lang.String[]getModelNames()
Returns the set of model names that have been registered within the sub system.

public SnmpModelremoveModel(int id)
Removes a model from this sub system.

param
id The model ID to remove.
return
The removed model.