org.objectweb.proactive.ext.benchsocket
Class BenchSocketFactory
java.lang.Object
org.objectweb.proactive.ext.benchsocket.BenchFactory
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
measure
protected static boolean measure
BenchSocketFactory
public BenchSocketFactory()
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.