public interface Transport
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
boolean |
isConnected() |
void |
sendMessage(String message) |
void connect()
throws IOException
IOExceptionvoid disconnect()
throws IOException
IOExceptionboolean isConnected()
void sendMessage(String message) throws IOException
IOException