com.sun.jdmk.comm
Class TimedRmiSocketFactory

java.lang.Object
  extended byjava.rmi.server.RMISocketFactory
      extended bycom.sun.jdmk.comm.TimedRmiSocketFactory
All Implemented Interfaces:
RMIClientSocketFactory, RMIServerSocketFactory

public class TimedRmiSocketFactory
extends RMISocketFactory

This class defines an RMI Socket Factory that allows to configure a socket object with a specified timeout. NPCTE fix for escalation 534403, bug 4624028.


Constructor Summary
TimedRmiSocketFactory(int commTimeout)
           
 
Method Summary
 ServerSocket createServerSocket(int port)
           
 Socket createSocket(String host, int port)
           
 
Methods inherited from class java.rmi.server.RMISocketFactory
getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedRmiSocketFactory

public TimedRmiSocketFactory(int commTimeout)
                      throws IOException
Method Detail

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port)
                                throws IOException
Throws:
IOException

FCS Release
jdmk-5_1-b34.1 2005.02.10_16:46:09_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.