|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eviware.soapui.impl.wsdl.monitor.SlowLinkSimulator
public class SlowLinkSimulator
class to simulate slow connections by slowing down the system
| Constructor Summary | |
|---|---|
SlowLinkSimulator(int delayBytes,
int delayTime)
construct |
|
SlowLinkSimulator(SlowLinkSimulator that)
construct by copying delay bytes and time, but not current count of bytes |
|
| Method Summary | |
|---|---|
int |
getCurrentBytes()
get the current byte count |
int |
getTotalBytes()
how many bytes have gone past? |
void |
pump(int bytes)
log #of bytes pumped. |
void |
setCurrentBytes(int currentBytes)
set the current byte count |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SlowLinkSimulator(int delayBytes,
int delayTime)
delayBytes - bytes per delay; set to 0 for no delaydelayTime - delay time per delay in millisecondspublic SlowLinkSimulator(SlowLinkSimulator that)
that - source of data| Method Detail |
|---|
public int getTotalBytes()
public void pump(int bytes)
bytes - public int getCurrentBytes()
public void setCurrentBytes(int currentBytes)
currentBytes -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||