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:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/rmi/server/RMISocketFactory.java
/* * @(#)RMISocketFactory.java 1.7 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.rmi.server; import java.io.*; import java.net.*; /** * The RMISocketFactory is used by the RMI runtime in order to obtain * client and server sockets for RMI calls. The default implementation * of the socket factory performs a three-tiered approach to creating * client sockets. First, a direct socket connection to the remote VM * is attempted. If that fails (due to a firewall), the runtime uses * HTTP with the explicit port number of the server. If the firewall * does not allow this type of communication, then HTTP to a cgi-bin * script on the server is used to POST the RMI call. * * An application may set the source of sockets for RMI. In this case, * the application is responsible for offering up sockets that will * penetrate a firewall. */ public abstract class RMISocketFactory { /** Client/server socket factory used by RMI */ private static RMISocketFactory factory = null; /** Handler for socket creation failure */ private static RMIFailureHandler handler = null; /** * Create a client socket connected to the specified host and port. */ public abstract Socket createSocket(String host, int port) throws IOException; /** * Create a server socket on the specified port (port 0 represents * an anonymous port). */ public abstract ServerSocket createServerSocket(int port) throws IOException; /** * Set the socket factory from which RMI gets sockets. The RMI * socket factory can only be set once. Note: The RMISocketFactory * may only be set if the current security manager allows setting * a socket factory; if disallowed, a SecurityException will be * thrown. */ public static void setSocketFactory(RMISocketFactory fac) throws IOException { if (factory != null) { throw new SocketException("factory already defined"); } SecurityManager security = System.getSecurityManager(); if (security != null) { security.checkSetFactory(); } factory = fac; } /** * Returns the socket factory used by RMI. */ public static RMISocketFactory getSocketFactory() { return factory; } /** * Set the failure handler to be called by the RMI runtime if * socket creation fails. The default implementation of this * handler returns false (thus recreation of sockets is not * attempted by the runtime). */ public static void setFailureHandler(RMIFailureHandler fh) { handler = fh; } /** * Returns the handler for socket creation failure. */ public static RMIFailureHandler getFailureHandler() { return handler; } }
⏎ java/rmi/server/RMISocketFactory.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 151313👍, 0💬
Popular Posts:
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache X...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...