Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/internal/SnmpMsgProcessingModel.java
/*
* Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.jmx.snmp.internal;
import com.sun.jmx.snmp.mpm.SnmpMsgTranslator;
import com.sun.jmx.snmp.SnmpTooBigException;
import com.sun.jmx.snmp.SnmpStatusException;
import com.sun.jmx.snmp.SnmpPdu;
import com.sun.jmx.snmp.SnmpPduFactory;
import com.sun.jmx.snmp.SnmpSecurityParameters;
import com.sun.jmx.snmp.SnmpParams;
/**
* The message processing model interface. Any message processing model must implement this interface in order to be integrated in the engine framework.
* The model is called by the dispatcher when a call is received or when a call is sent.
* <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p>
* @since 1.5
*/
public interface SnmpMsgProcessingModel extends SnmpModel {
/**
* This method is called when a call is to be sent to the network.
* @param factory The pdu factory to use to encode and decode pdu.
* @return The object that will handle every steps of the sending (mainly marshalling and security).
*/
public SnmpOutgoingRequest getOutgoingRequest(SnmpPduFactory factory);
/**
* This method is called when a call is received from the network.
* @param factory The pdu factory to use to encode and decode pdu.
* @return The object that will handle every steps of the receiving (mainly unmarshalling and security).
*/
public SnmpIncomingRequest getIncomingRequest(SnmpPduFactory factory);
/**
* This method is called when a response is received from the network.
* @param factory The pdu factory to use to encode and decode pdu.
* @return The object that will handle every steps of the receiving (mainly unmarshalling and security).
*/
public SnmpIncomingResponse getIncomingResponse(SnmpPduFactory factory);
/**
* This method is called to instantiate a pdu according to the passed pdu type and parameters.
* @param p The request parameters.
* @param type The pdu type.
* @return The pdu.
*/
public SnmpPdu getRequestPdu(SnmpParams p, int type) throws SnmpStatusException;
/**
* This method is called to encode a full scoped pdu that has not been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are known.
* <BR>The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
* @param version The SNMP protocol version.
* @param msgID The SNMP message ID.
* @param msgMaxSize The max message size.
* @param msgFlags The message flags.
* @param msgSecurityModel The message security model.
* @param params The security parameters.
* @param contextEngineID The context engine ID.
* @param contextName The context name.
* @param data The encoded data.
* @param dataLength The encoded data length.
* @param outputBytes The buffer containing the encoded message.
* @return The encoded bytes number.
*/
public int encode(int version,
int msgID,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] contextEngineID,
byte[] contextName,
byte[] data,
int dataLength,
byte[] outputBytes) throws SnmpTooBigException;
/**
* This method is called to encode a full scoped pdu that as been encrypted. <CODE>contextName</CODE>, <CODE>contextEngineID</CODE> and data are known.
* <BR>The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
* @param version The SNMP protocol version.
* @param msgID The SNMP message ID.
* @param msgMaxSize The max message size.
* @param msgFlags The message flags.
* @param msgSecurityModel The message security model.
* @param params The security parameters.
* @param encryptedPdu The encrypted pdu.
* @param outputBytes The buffer containing the encoded message.
* @return The encoded bytes number.
*/
public int encodePriv(int version,
int msgID,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] encryptedPdu,
byte[] outputBytes) throws SnmpTooBigException;
/**
* This method returns a decoded scoped pdu. This method decodes only the <CODE>contextEngineID</CODE>, <CODE>contextName</CODE> and data. It is needed by the <CODE>SnmpSecurityModel</CODE> after decryption.
* @param pdu The encoded pdu.
* @return The partialy scoped pdu.
*/
public SnmpDecryptedPdu decode(byte[] pdu) throws SnmpStatusException;
/**
* This method returns an encoded scoped pdu. This method encode only the <CODE>contextEngineID</CODE>, <CODE>contextName</CODE> and data. It is needed by the <CODE>SnmpSecurityModel</CODE> for decryption.
* @param pdu The pdu to encode.
* @param outputBytes The partialy scoped pdu.
* @return The encoded bytes number.
*/
public int encode(SnmpDecryptedPdu pdu,
byte[] outputBytes) throws SnmpTooBigException;
/**
* In order to change the behavior of the translator, set it.
* @param translator The translator that will be used.
*/
public void setMsgTranslator(SnmpMsgTranslator translator);
/**
* Returns the current translator.
* @return The current translator.
*/
public SnmpMsgTranslator getMsgTranslator();
}
⏎ com/sun/jmx/snmp/internal/SnmpMsgProcessingModel.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, ≈675🔥, 3💬
Popular Posts:
HttpComponents Client Source Code Files are provided in the source package file, httpcomponents-clie...
JRE 5 sunjce_provider.jar is the JAR file for JRE 5 Sun JCE Provider, which provides implementations...
What is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.1...
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...