Interface IConnection
-
@Deprecated public interface IConnection
Deprecated.The PKI console will be removed once there are CLI equivalents of desired console features.Interface for all connection objects.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
disconnect()
Deprecated.Close the connectionbyte[]
getResponse()
Deprecated.Returns the response in byte array formatint
sendRequest(java.lang.String req)
Deprecated.Send request to the server using this connectionvoid
setSoTimeout(int timeout)
Deprecated.SetTimeout
-
-
-
Method Detail
-
sendRequest
int sendRequest(java.lang.String req) throws java.io.IOException
Deprecated.Send request to the server using this connection- Throws:
java.io.IOException
-
getResponse
byte[] getResponse()
Deprecated.Returns the response in byte array format
-
disconnect
void disconnect()
Deprecated.Close the connection
-
setSoTimeout
void setSoTimeout(int timeout) throws java.net.SocketException
Deprecated.SetTimeout- Throws:
java.net.SocketException
-
-