public class AsynchronousTelnetClient extends Object implements Runnable, TelnetClient
| Modifier and Type | Class and Description |
|---|---|
static class |
AsynchronousTelnetClient.State |
| Constructor and Description |
|---|
AsynchronousTelnetClient(TelnetCreator telnetCreator,
PlugConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationHandler(NotificationHandler handler) |
void |
connect() |
void |
disconnect() |
AsynchronousTelnetClient.State |
getCurrentState() |
void |
removeNotificationHandler(NotificationHandler handler) |
void |
run() |
void |
send(String text) |
protected void |
sendNotification(String message) |
public AsynchronousTelnetClient(TelnetCreator telnetCreator, PlugConfig config)
public void connect()
connect in interface TelnetClientpublic void disconnect()
disconnect in interface TelnetClientpublic void send(String text)
send in interface TelnetClientprotected void sendNotification(String message)
public void addNotificationHandler(NotificationHandler handler)
public void removeNotificationHandler(NotificationHandler handler)
public AsynchronousTelnetClient.State getCurrentState()
Copyright © 2004-2013. All Rights Reserved.