diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java b/src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java index 482a4a0f..d21581fb 100644 --- a/src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java +++ b/src/main/java/org/bouncycastle/crypto/tls/TlsPeer.java @@ -1,28 +1,23 @@ package org.bouncycastle.crypto.tls;
-public interface TlsPeer {
+public interface TlsPeer
+{
/**
* This method will be called when an alert is raised by the protocol.
- *
- * @param alertLevel
- * {@link AlertLevel}
- * @param alertDescription
- * {@link AlertDescription}
- * @param message
- * A human-readable message explaining what caused this alert. May be null.
- * @param cause
- * The exception that caused this alert to be raised. May be null.
+ *
+ * @param alertLevel {@link AlertLevel}
+ * @param alertDescription {@link AlertDescription}
+ * @param message A human-readable message explaining what caused this alert. May be null.
+ * @param cause The exception that caused this alert to be raised. May be null.
*/
void notifyAlertRaised(short alertLevel, short alertDescription, String message, Exception cause);
/**
* This method will be called when an alert is received from the remote peer.
- *
- * @param alertLevel
- * {@link AlertLevel}
- * @param alertDescription
- * {@link AlertDescription}
+ *
+ * @param alertLevel {@link AlertLevel}
+ * @param alertDescription {@link AlertDescription}
*/
void notifyAlertReceived(short alertLevel, short alertDescription);
}
|