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/corba/se/impl/transport/SocketOrChannelContactInfoImpl.java
/*
* Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.impl.transport;
import com.sun.corba.se.pept.transport.Connection;
import com.sun.corba.se.spi.ior.IOR ;
import com.sun.corba.se.spi.orb.ORB;
import com.sun.corba.se.spi.transport.CorbaContactInfoList;
import com.sun.corba.se.spi.transport.CorbaTransportManager;
import com.sun.corba.se.spi.transport.SocketInfo;
import com.sun.corba.se.impl.orbutil.ORBUtility;
import com.sun.corba.se.impl.transport.CorbaContactInfoBase;
/**
* @author Harold Carr
*/
public class SocketOrChannelContactInfoImpl
extends CorbaContactInfoBase
implements SocketInfo
{
protected boolean isHashCodeCached = false;
protected int cachedHashCode;
protected String socketType;
protected String hostname;
protected int port;
// XREVISIT
// See SocketOrChannelAcceptorImpl.createMessageMediator
// See SocketFactoryContactInfoImpl.constructor()
// See SocketOrChannelContactInfoImpl.constructor()
protected SocketOrChannelContactInfoImpl()
{
}
protected SocketOrChannelContactInfoImpl(
ORB orb,
CorbaContactInfoList contactInfoList)
{
this.orb = orb;
this.contactInfoList = contactInfoList;
}
public SocketOrChannelContactInfoImpl(
ORB orb,
CorbaContactInfoList contactInfoList,
String socketType,
String hostname,
int port)
{
this(orb, contactInfoList);
this.socketType = socketType;
this.hostname = hostname;
this.port = port;
}
// XREVISIT
public SocketOrChannelContactInfoImpl(
ORB orb,
CorbaContactInfoList contactInfoList,
IOR effectiveTargetIOR,
short addressingDisposition,
String socketType,
String hostname,
int port)
{
this(orb, contactInfoList, socketType, hostname, port);
this.effectiveTargetIOR = effectiveTargetIOR;
this.addressingDisposition = addressingDisposition;
}
////////////////////////////////////////////////////
//
// pept.transport.ContactInfo
//
public boolean isConnectionBased()
{
return true;
}
public boolean shouldCacheConnection()
{
return true;
}
public String getConnectionCacheType()
{
return CorbaTransportManager.SOCKET_OR_CHANNEL_CONNECTION_CACHE;
}
public Connection createConnection()
{
Connection connection =
new SocketOrChannelConnectionImpl(orb, this,
socketType, hostname, port);
return connection;
}
////////////////////////////////////////////////////
//
// spi.transport.CorbaContactInfo
//
public String getMonitoringName()
{
return "SocketConnections";
}
////////////////////////////////////////////////////
//
// pept.transport.ContactInfo
//
public String getType()
{
return socketType;
}
public String getHost()
{
return hostname;
}
public int getPort()
{
return port;
}
////////////////////////////////////////////////////
//
// java.lang.Object
//
public int hashCode()
{
if (! isHashCodeCached) {
cachedHashCode = socketType.hashCode() ^ hostname.hashCode() ^ port;
isHashCodeCached = true;
}
return cachedHashCode;
}
public boolean equals(Object obj)
{
if (obj == null) {
return false;
} else if (!(obj instanceof SocketOrChannelContactInfoImpl)) {
return false;
}
SocketOrChannelContactInfoImpl other =
(SocketOrChannelContactInfoImpl) obj;
if (port != other.port) {
return false;
}
if (!hostname.equals(other.hostname)) {
return false;
}
if (socketType == null) {
if (other.socketType != null) {
return false;
}
} else if (!socketType.equals(other.socketType)) {
return false;
}
return true;
}
public String toString()
{
return
"SocketOrChannelContactInfoImpl["
+ socketType + " "
+ hostname + " "
+ port
+ "]";
}
////////////////////////////////////////////////////
//
// Implementation
//
protected void dprint(String msg)
{
ORBUtility.dprint("SocketOrChannelContactInfoImpl", msg);
}
}
// End of file.
⏎ com/sun/corba/se/impl/transport/SocketOrChannelContactInfoImpl.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, ≈459🔥, 3💬
Popular Posts:
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
How to download and install JDK (Java Development Kit) 6? If you want to write Java applications, yo...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Rhino JavaScript Java Library is an open-source implementation of JavaScript written entirely in Jav...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...