SnmpLcd.java revision 0
553N/A * Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved. 77N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 77N/A * This code is free software; you can redistribute it and/or modify it 77N/A * under the terms of the GNU General Public License version 2 only, as 77N/A * published by the Free Software Foundation. Sun designates this 77N/A * particular file as subject to the "Classpath" exception as provided 77N/A * by Sun in the LICENSE file that accompanied this code. 77N/A * This code is distributed in the hope that it will be useful, but WITHOUT 77N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 77N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 77N/A * version 2 for more details (a copy is included in the LICENSE file that 77N/A * accompanied this code). 77N/A * You should have received a copy of the GNU General Public License version 77N/A * 2 along with this work; if not, write to the Free Software Foundation, 553N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 77N/A * CA 95054 USA or visit www.sun.com if you need additional information or 77N/A * have any questions. 77N/A * Class to extend in order to develop a customized Local Configuration Datastore. The Lcd is used by the <CODE>SnmpEngine</CODE> to store and retrieve data. 77N/A *<P> <CODE>SnmpLcd</CODE> manages the Lcds needed by every {@link com.sun.jmx.snmp.internal.SnmpModel SnmpModel}. It is possible to add and remove {@link com.sun.jmx.snmp.internal.SnmpModelLcd SnmpModelLcd}.</P> * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> * Returns the number of time the engine rebooted. * @return The number of reboots or -1 if the information is not present in the Lcd. * Returns the engine Id located in the Lcd. * @return The engine Id or null if the information is not present in the Lcd. * Persists the number of reboots. * @param i Reboot number. * Persists the engine Id. * @param id The engine Id. * @param sys The subsytem managing the model. * @param id The model Id. * @param lcd The Lcd model. * @param sys The subsytem managing the model. * @param id The model Id. * @param sys The subsytem managing the model * @param id The model Id. * @return The Lcd model or null if no Lcd model were found.