Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/jmx/snmp/agent/SnmpMibRequestImpl.java
/* * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jmx.snmp.agent; import java.util.Enumeration; import java.util.Vector; import com.sun.jmx.snmp.SnmpPdu; import com.sun.jmx.snmp.SnmpVarBind; import com.sun.jmx.snmp.SnmpEngine; /** * This class implements the SnmpMibRequest interface. * It represents the part of a SNMP request that involves a specific * MIB. One instance of this class will be created for every MIB * involved in a SNMP request, and will be passed to the SnmpMibAgent * in charge of handling that MIB. * * Instances of this class are allocated by the SNMP engine. You will * never need to use this class directly. You will only access * instances of this class through their SnmpMibRequest interface. * */ final class SnmpMibRequestImpl implements SnmpMibRequest { /** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; } // ------------------------------------------------------------------- // PUBLIC METHODS from SnmpMibRequest // ------------------------------------------------------------------- /** * Returns the local engine. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned. * @return the local engine. */ @Override public SnmpEngine getEngine() { return engine; } /** * Gets the incoming request principal. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned. * @return The request principal. **/ @Override public String getPrincipal() { return principal; } /** * Gets the incoming request security level. This level is defined in {@link com.sun.jmx.snmp.SnmpEngine SnmpEngine}. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned. * @return The security level. */ @Override public int getSecurityLevel() { return securityLevel; } /** * Gets the incoming request security model. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned. * @return The security model. */ @Override public int getSecurityModel() { return securityModel; } /** * Gets the incoming request context name. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned. * @return The context name. */ @Override public byte[] getContextName() { return contextName; } /** * Gets the incoming request context name used by Access Control Model in order to allow or deny the access to OIDs. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned. * @return The checked context. */ @Override public byte[] getAccessContextName() { return accessContextName; } // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final SnmpPdu getPdu() { return reqPdu; } // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final Enumeration<SnmpVarBind> getElements() {return varbinds.elements();} // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final Vector<SnmpVarBind> getSubList() {return varbinds;} // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final int getSize() { if (varbinds == null) return 0; return varbinds.size(); } // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final int getVersion() {return version;} // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final int getRequestPduVersion() {return reqPdu.version;} // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final Object getUserData() {return data;} // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public final int getVarIndex(SnmpVarBind varbind) { return varbinds.indexOf(varbind); } // ------------------------------------------------------------------- // Implements the method defined in SnmpMibRequest interface. // See SnmpMibRequest for the java doc. // ------------------------------------------------------------------- @Override public void addVarBind(SnmpVarBind varbind) { varbinds.addElement(varbind); } // ------------------------------------------------------------------- // PACKAGE METHODS // ------------------------------------------------------------------- // ------------------------------------------------------------------- // Allow to pass the request tree built during the check() phase // to the set() method. Note: the if the tree is `null', then the // set() method will rebuild a new tree identical to the tree built // in the check() method. // // Passing this tree in the SnmpMibRequestImpl object allows to // optimize the SET requests. // // ------------------------------------------------------------------- final void setRequestTree(SnmpRequestTree tree) {this.tree = tree;} // ------------------------------------------------------------------- // Returns the SnmpRequestTree object built in the first operation // phase for two-phase SNMP requests (like SET). // ------------------------------------------------------------------- final SnmpRequestTree getRequestTree() {return tree;} // ------------------------------------------------------------------- // Returns the underlying vector of SNMP varbinds (used for algorithm // optimization). // ------------------------------------------------------------------- final Vector<SnmpVarBind> getVarbinds() {return varbinds;} // ------------------------------------------------------------------- // Private variables // ------------------------------------------------------------------- // Ideally these variables should be declared final but it makes // the jdk1.1.x compiler complain (seems to be a compiler bug, jdk1.2 // is OK). private Vector<SnmpVarBind> varbinds; private int version; private Object data; private SnmpPdu reqPdu = null; // Non final variable. private SnmpRequestTree tree = null; private SnmpEngine engine = null; private String principal = null; private int securityLevel = -1; private int securityModel = -1; private byte[] contextName = null; private byte[] accessContextName = null; }
⏎ com/sun/jmx/snmp/agent/SnmpMibRequestImpl.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 250751👍, 3💬
Popular Posts:
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...