dflorey 2004/12/22 10:21:30
Modified: webdavclient/clientlib/src/java/org/apache/webdav/lib Tag:
SLIDE_2_1_RELEASE_BRANCH NotificationListener.java
Log:
Javadoc bugfix
Revision Changes Path
No revision
No revision
1.8.2.2 +7 -7
jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/NotificationListener.java
Index: NotificationListener.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/webdavclient/clientlib/src/java/org/apache/webdav/lib/NotificationListener.java,v
retrieving revision 1.8.2.1
retrieving revision 1.8.2.2
diff -u -r1.8.2.1 -r1.8.2.2
--- NotificationListener.java 22 Dec 2004 18:17:13 -0000 1.8.2.1
+++ NotificationListener.java 22 Dec 2004 18:21:30 -0000 1.8.2.2
@@ -82,14 +82,14 @@
/**
*
- * @param host The ip-address on which the udp or http-server is running
(e.g. "localhost")
+ * @param host The ip-address or hostname on which the udp or
http-server is running (e.g. "myhost.mydomain.mytld")
* @param port The port where the udp or http-server is listening on
(e.g. 4444)
- * @param repositoryHost The ip-adress of the WebDAV-repository
+ * @param repositoryHost The ip-adress or hostname of the
WebDAV-repository
* @param repositoryPort The port of the WebDAV-repository (e.g. 8080)
* @param protocol The protocol that should be used to connect to the
WebDAV-repository (http or https)
* @param credentials The credentials which are used to connect to the
WebDAV-repository
* @param repositoryDomain The repository domain (e.g. "/slide")
- * @param pollInterval The poll interval that will be used if no
notifications are revieved via UDP/TCP
+ * @param pollInterval The poll interval that will be used if no
notifications are revieved via UDP/TCP (in milliseconds)
* @param udp If set to true, UDP server will be started, otherwise TCP
server (must match the repository notification mode)
*/
public NotificationListener(String host, int port, String
repositoryHost, int repositoryPort, Protocol protocol, Credentials credentials,
String repositoryDomain, int pollInterval, boolean udp) {
@@ -161,7 +161,7 @@
* @param lifetime the duration for that you want to observe (in seconds)
* @param notificationDelay the time the server waits before it sends a
notify
* message to the host provided in the
constructor
- * (in milliseconds)
+ * (in seconds)
* @param listener the Subscriber that is called on incomming
notifications
* @param credentials credentials for authentication on the server
observed
* @return boolean true if subscription succeeded, false if subscription
failed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]