summaryrefslogtreecommitdiff
path: root/java/src/Connector.java
diff options
context:
space:
mode:
authoreea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-10 20:12:43 +0000
committereea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-10 20:12:43 +0000
commitc01ce850adaf528342fcdbb74e0965b2ec416a58 (patch)
treec30bdc92756af9d00d17d9fd02db35866964c9e6 /java/src/Connector.java
parent5156f7eed11b42486efa22694c067a93907dfdf1 (diff)
downloadATCD-c01ce850adaf528342fcdbb74e0965b2ec416a58.tar.gz
Fixed most of the javadoc commenting problems. To make it perfect, all
the source files would have to exist in a directory structure identical to their package names. With these changes, though, people can still view the packages, classes, and methods correctly. I mainly corrected the @see and @exception statements.
Diffstat (limited to 'java/src/Connector.java')
-rw-r--r--java/src/Connector.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/java/src/Connector.java b/java/src/Connector.java
index 81b701e7b4d..7393ea486e0 100644
--- a/java/src/Connector.java
+++ b/java/src/Connector.java
@@ -22,7 +22,7 @@ import JACE.ServiceConfigurator.*;
* <h2>SYNOPSIS</h2>
*<blockquote>
* Abstract factory for connecting a
- * (<a href="ACE.Connection.SvcHandler.html"><tt>SvcHandler</tt></a>),
+ * (<a href="JACE.Connection.SvcHandler.html"><tt>SvcHandler</tt></a>),
* to an application.
*</blockquote>
*
@@ -34,7 +34,7 @@ import JACE.ServiceConfigurator.*;
* control to that instance.
*<p>
* TCP is the transport mechanism used, via
- * <a href="ACE.SOCK_SAP.SOCKConnector.html#_top_"><tt>SOCKConnector</tt></a>.
+ * <a href="JACE.SOCK_SAP.SOCKConnector.html#_top_"><tt>SOCKConnector</tt></a>.
*</blockquote>
*
*<h2>NOTES</h2>
@@ -43,7 +43,8 @@ import JACE.ServiceConfigurator.*;
* Future versions are expected to rectify this discrepancy.
*</blockquote>
*
- *@see SOCKConnector,SvcHandler
+ *@see SOCKConnector
+ *@see SvcHandler
*/
public class Connector extends ServiceObject
{
@@ -82,6 +83,11 @@ public class Connector extends ServiceObject
/**
* Connect to the server.
*@param sh Svc Handler to use to handle the connection
+ *@exception UnknownHostException Bad host
+ *@exception SocketException Socket error
+ *@exception InstantiationException Couldn't create new SOCKConnector
+ *@exception IllegalAccessException No strategy available
+ *@exception IOException Socket error
*/
public void connect (SvcHandler sh) throws UnknownHostException,
SocketException,
@@ -103,6 +109,8 @@ public class Connector extends ServiceObject
* strategy, if needed.
*@param sh Svc Handler to use to handle the connection
*@return 0
+ *@exception SocketException Socket error
+ *@exception IOException Socket error
*/
protected int connectSvcHandler (SvcHandler sh) throws
SocketException, IOException