summaryrefslogtreecommitdiff
path: root/java/src/IceSSL/ConnectionInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceSSL/ConnectionInfo.java')
-rw-r--r--java/src/IceSSL/ConnectionInfo.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/java/src/IceSSL/ConnectionInfo.java b/java/src/IceSSL/ConnectionInfo.java
index 5e10a24bec8..7f086722200 100644
--- a/java/src/IceSSL/ConnectionInfo.java
+++ b/java/src/IceSSL/ConnectionInfo.java
@@ -9,44 +9,44 @@
package IceSSL;
-//
-// ConnectionInfo contains information that may be of use to a
-// CertificateVerifier or an application that wants information
-// about its peer.
-//
+/**
+ * This class provides information about a connection to applications
+ * that require information about a peer, for example, to implement
+ * a CertificateVerifier.
+ *
+ * @see CertificateVerifier
+ **/
public class ConnectionInfo
{
- //
- // The certificate chain. This may be null if the peer did not
- // supply a certificate. The peer's certificate (if any) is the
- // first one in the chain.
- //
+ /**
+ * The certificate chain. This may be null if the peer did not
+ * supply a certificate. The peer's certificate (if any) is the
+ * first one in the chain.
+ **/
public java.security.cert.Certificate[] certs;
- //
- // The name of the negotiated cipher.
- //
+ /**
+ * The name of the negotiated cipher.
+ **/
public String cipher;
- //
- // The local TCP/IP host & port.
- //
+ /**
+ * The local TCP/IP host & port.
+ **/
public java.net.InetSocketAddress localAddr;
- //
- // The remote TCP/IP host & port.
- //
+ /**
+ * The remote TCP/IP host & port.
+ **/
public java.net.InetSocketAddress remoteAddr;
- //
- // If the connection is incoming this bool is true, false
- // otherwise.
- //
+ /**
+ * <code>true</code> if the connection is incoming; <code>false</code> otherwise.
+ **/
public boolean incoming;
- //
- // The name of the object adapter that hosts this endpoint, if
- // any.
- //
+ /**
+ * The name of the object adapter that hosts this endpoint, if any.
+ **/
public String adapterName;
}