summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/client
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/client')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/client/IDataProcessor.java12
-rw-r--r--pki/base/common/src/com/netscape/certsrv/client/connection/IAuthenticator.java3
-rw-r--r--pki/base/common/src/com/netscape/certsrv/client/connection/IConnection.java9
-rw-r--r--pki/base/common/src/com/netscape/certsrv/client/connection/IConnectionFactory.java22
4 files changed, 24 insertions, 22 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/client/IDataProcessor.java b/pki/base/common/src/com/netscape/certsrv/client/IDataProcessor.java
index 7f78b97e..3bce367d 100644
--- a/pki/base/common/src/com/netscape/certsrv/client/IDataProcessor.java
+++ b/pki/base/common/src/com/netscape/certsrv/client/IDataProcessor.java
@@ -17,18 +17,18 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.client;
+
/**
- * this class represents the callback interface between the client package and
- * the data storage object (data model)
- *
+ * this class represents the callback interface between
+ * the client package and the data storage object (data model)
+ *
* @version $Revision$, $Date$
*/
public interface IDataProcessor {
/**
- * This method will be callby the client package each time data object
- * arrived from the server side.
- *
+ * This method will be callby the client package each time
+ * data object arrived from the server side.
* @param data data object expected by the interface implementor
*/
public void processData(Object data);
diff --git a/pki/base/common/src/com/netscape/certsrv/client/connection/IAuthenticator.java b/pki/base/common/src/com/netscape/certsrv/client/connection/IAuthenticator.java
index 0a96ee69..ff83cadd 100644
--- a/pki/base/common/src/com/netscape/certsrv/client/connection/IAuthenticator.java
+++ b/pki/base/common/src/com/netscape/certsrv/client/connection/IAuthenticator.java
@@ -17,9 +17,10 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.client.connection;
+
/**
* An interface represents authentiator.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IAuthenticator {
diff --git a/pki/base/common/src/com/netscape/certsrv/client/connection/IConnection.java b/pki/base/common/src/com/netscape/certsrv/client/connection/IConnection.java
index 4a8166b0..18bd3518 100644
--- a/pki/base/common/src/com/netscape/certsrv/client/connection/IConnection.java
+++ b/pki/base/common/src/com/netscape/certsrv/client/connection/IConnection.java
@@ -22,13 +22,13 @@ import java.net.SocketException;
/**
* Interface for all connection objects.
- *
+ *
* @version $Revision$, $Date$
*/
public interface IConnection {
/**
- * Send request to the server using this connection
+ * Send request to the server using this connection
*/
public int sendRequest(String req) throws IOException;
@@ -41,10 +41,11 @@ public interface IConnection {
* Close the connection
*/
public void disconnect();
-
+
/**
* SetTimeout
*/
public void setSoTimeout(int timeout) throws SocketException;
-
+
+
}
diff --git a/pki/base/common/src/com/netscape/certsrv/client/connection/IConnectionFactory.java b/pki/base/common/src/com/netscape/certsrv/client/connection/IConnectionFactory.java
index 91521a16..1542d5fa 100644
--- a/pki/base/common/src/com/netscape/certsrv/client/connection/IConnectionFactory.java
+++ b/pki/base/common/src/com/netscape/certsrv/client/connection/IConnectionFactory.java
@@ -21,23 +21,23 @@ import java.io.IOException;
import java.net.UnknownHostException;
/**
- * Interface for all connection factory. Primarily act as the abstraction layer
- * for different kind of connection factory.
- *
+ * Interface for all connection factory. Primarily act as
+ * the abstraction layer for different kind of connection factory.
+ *
* @version $Revision$, $Date$
*/
public interface IConnectionFactory {
/**
* Creates connection using the host and port
- *
- * @param host The host to connect to
- * @param port The port to connect to
- * @return The created connection
- * @throws IOException On an IO Error
- * @throws UnknownHostException If the host can't be resolved
+ * @param host The host to connect to
+ * @param port The port to connect to
+ * @return The created connection
+ * @throws IOException On an IO Error
+ * @throws UnknownHostException If the host can't be resolved
*/
- public IConnection create(String host, int port) throws IOException,
- UnknownHostException;
+ public IConnection create(String host, int port)
+ throws IOException, UnknownHostException;
}
+