public class SynchronousTelnetClient extends Object implements TelnetClient
| Modifier and Type | Field and Description |
|---|---|
static int |
TIME_TO_SLEEP |
| Constructor and Description |
|---|
SynchronousTelnetClient(AsynchronousTelnetClient telnetClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
void |
send(String message) |
String |
waitForMessage(com.google.common.base.Predicate<String> predicate,
int maxWaitMillis) |
public static final int TIME_TO_SLEEP
public SynchronousTelnetClient(AsynchronousTelnetClient telnetClient)
public void connect()
connect in interface TelnetClientpublic void disconnect()
disconnect in interface TelnetClientpublic void send(String message)
send in interface TelnetClientCopyright © 2004-2013. All Rights Reserved.