public class FakeConnection
extends java.lang.Object
Constructor and Description |
---|
FakeConnection() |
Modifier and Type | Method and Description |
---|---|
void |
connect(long ms)
"Establishes" the connection.
|
void |
disconnect(long ms)
"Closes" the connection.
|
public void connect(long ms)
ms
- The time to delay when connecting. If less than or equal to
zero, it simply returns.public void disconnect(long ms)
ms
- The time to delay when disconnecting. If less than or equal to
zero, it simply returns.