com.netscape.certsrv.client.connection
Interface IConnection


public interface IConnection

Interface for all connection objects.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 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
 

Method Detail

sendRequest

int sendRequest(java.lang.String req)
                throws java.io.IOException
Send request to the server using this connection

Throws:
java.io.IOException

getResponse

byte[] getResponse()
Returns the response in byte array format


disconnect

void disconnect()
Close the connection


setSoTimeout

void setSoTimeout(int timeout)
                  throws java.net.SocketException
SetTimeout

Throws:
java.net.SocketException