org.objectweb.proactive.ext.benchsocket
Class BenchSocketFactory

java.lang.Object
  extended by org.objectweb.proactive.ext.benchsocket.BenchFactory
      extended by org.objectweb.proactive.ext.benchsocket.BenchSocketFactory
All Implemented Interfaces:
java.io.Serializable, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory, BenchFactoryInterface

public class BenchSocketFactory
extends BenchFactory
implements java.rmi.server.RMIServerSocketFactory, java.rmi.server.RMIClientSocketFactory, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected static boolean measure
           
 
Fields inherited from class org.objectweb.proactive.ext.benchsocket.BenchFactory
streamList
 
Constructor Summary
BenchSocketFactory()
           
 
Method Summary
 java.net.ServerSocket createServerSocket(int port)
           
 java.net.Socket createSocket(java.lang.String host, int port)
           
static void endMeasure()
           
static void startMeasure()
           
 
Methods inherited from class org.objectweb.proactive.ext.benchsocket.BenchFactory
addStream, dumpStreamIntermediateResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

measure

protected static boolean measure
Constructor Detail

BenchSocketFactory

public BenchSocketFactory()
Method Detail

createServerSocket

public java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Specified by:
createServerSocket in interface java.rmi.server.RMIServerSocketFactory
Throws:
java.io.IOException

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Throws:
java.io.IOException

startMeasure

public static void startMeasure()

endMeasure

public static void endMeasure()


Copyright 2001-2007 INRIA All Rights Reserved.