⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 snmpsubsystem.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
字号:
/* * @(#)file      SnmpSubSystem.java * @(#)author    Sun Microsystems, Inc. * @(#)version   1.16 * @(#)date      08/09/12 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * */package com.sun.jmx.snmp.internal;import com.sun.jmx.snmp.SnmpEngine;import com.sun.jmx.snmp.SnmpUnknownModelException;import java.util.Hashtable;/** * 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. * <P> Every sub system is associated to its SNMP engine. * <p><b>This API is a Sun Microsystems internal API  and is subject  * to change without notice.</b></p> */public interface SnmpSubSystem {    /**     * Returns the associated engine.     * @return The engine.     */    public SnmpEngine getEngine();    /**     * Adds a model to this sub system.     * @param id The model ID.     * @param model The model to add.     */    public void addModel(int id, SnmpModel model);    /**     * Removes a model from this sub system.     * @param id The model ID to remove.     * @return The removed model.     */    public SnmpModel removeModel(int id) throws SnmpUnknownModelException;    /**     * Gets a model from this sub system.     * @param id The model ID to get.     * @return The model.     */    public SnmpModel getModel(int id) throws SnmpUnknownModelException;        /**      * Returns the set of model Ids that have been registered within the sub system.     */    public int[] getModelIds();    /**      * Returns the set of model names that have been registered within the sub system.     */    public String[] getModelNames();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -