public interface iConnection
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
java.lang.String |
getHostname() |
int |
getPort() |
int |
read(byte[] response) |
void |
setHostname(java.lang.String hostname) |
void |
setPort(int port) |
void |
setSoTimeout(int timeout) |
boolean |
write(byte[] message) |
void connect() throws java.io.IOException
java.io.IOException
void disconnect() throws java.io.IOException
java.io.IOException
boolean write(byte[] message)
int read(byte[] response) throws java.io.IOException
java.io.IOException
void setSoTimeout(int timeout)
void setHostname(java.lang.String hostname)
java.lang.String getHostname()
void setPort(int port)
int getPort()