public interface IConnection
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Close the connection
|
byte[] |
getResponse()
Returns the response in byte array format
|
int |
sendRequest(java.lang.String req)
Send request to the server using this connection
|
void |
setSoTimeout(int timeout)
SetTimeout
|
int sendRequest(java.lang.String req) throws java.io.IOException
java.io.IOException
byte[] getResponse()
void disconnect()
void setSoTimeout(int timeout) throws java.net.SocketException
java.net.SocketException