Protege 3.5

edu.stanford.smi.protege.server.socket
Class SimulateDelayAspect

java.lang.Object
  extended by edu.stanford.smi.protege.server.socket.SimulateDelayAspect
All Implemented Interfaces:
SocketAspect

public class SimulateDelayAspect
extends Object
implements SocketAspect


Constructor Summary
SimulateDelayAspect(SocketAspect delegate)
           
 
Method Summary
 void close()
           
static void delayForLatency()
           
 SocketAspect getDelegate()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 void reportDelays()
           
static boolean useSimulatedDelay()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulateDelayAspect

public SimulateDelayAspect(SocketAspect delegate)
Method Detail

delayForLatency

public static void delayForLatency()

close

public void close()
           throws IOException
Specified by:
close in interface SocketAspect
Throws:
IOException

getDelegate

public SocketAspect getDelegate()
Specified by:
getDelegate in interface SocketAspect

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface SocketAspect
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface SocketAspect
Throws:
IOException

useSimulatedDelay

public static boolean useSimulatedDelay()

reportDelays

public void reportDelays()

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.