home *** CD-ROM | disk | FTP | other *** search
/ Symantec Visual Cafe for Java 2.5 / symantec-visual-cafe-2.5-database-dev-edition.iso / VPage / Java.bin / CLASSES.ZIP / sun / rmi / transport / proxy / RMIDirectSocketFactory.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-07-08  |  650 b   |  17 lines

  1. package sun.rmi.transport.proxy;
  2.  
  3. import java.io.IOException;
  4. import java.net.ServerSocket;
  5. import java.net.Socket;
  6. import java.rmi.server.RMISocketFactory;
  7.  
  8. public class RMIDirectSocketFactory extends RMISocketFactory {
  9.    public Socket createSocket(String var1, int var2) throws IOException {
  10.       return new Socket(var1, var2);
  11.    }
  12.  
  13.    public ServerSocket createServerSocket(int var1) throws IOException {
  14.       return new ServerSocket(var1);
  15.    }
  16. }
  17.