org.objectweb.carol.irmi.test
Class TraceSocketFactory

java.lang.Object
  extended by java.rmi.server.RMISocketFactory
      extended by org.objectweb.carol.irmi.test.TraceSocketFactory
All Implemented Interfaces:
RMIClientSocketFactory, RMIServerSocketFactory

public class TraceSocketFactory
extends RMISocketFactory

TraceSocketFactory

Author:
Rafael H. Schloming <rhs@mit.edu>

Method Summary
 ServerSocket createServerSocket(int port)
           
 Socket createSocket(String host, int port)
           
 List getClientTraces()
           
 List getServerTraces()
           
 
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
 

Method Detail

getClientTraces

public List getClientTraces()

getServerTraces

public List getServerTraces()

createSocket

public Socket createSocket(String host,
                           int port)
                    throws IOException
Specified by:
createSocket in interface RMIClientSocketFactory
Specified by:
createSocket in class RMISocketFactory
Throws:
IOException

createServerSocket

public ServerSocket createServerSocket(int port)
                                throws IOException
Specified by:
createServerSocket in interface RMIServerSocketFactory
Specified by:
createServerSocket in class RMISocketFactory
Throws:
IOException