Package org.mozilla.jss.ssl
Class SSLAlertEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.mozilla.jss.ssl.SSLAlertEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class SSLAlertEvent extends java.util.EventObject- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSLAlertEvent(SSLFDProxy proxy)SSLAlertEvent(SSLFDProxy proxy, int level, int description)SSLAlertEvent(SSLFDProxy proxy, SSLAlertLevel level, SSLAlertDescription description)SSLAlertEvent(SSLSocket socket)SSLAlertEvent(SSLSocket socket, int level, int description)SSLAlertEvent(SSLSocket socket, SSLAlertLevel level, SSLAlertDescription description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDescription()SSLAlertDescriptiongetDescriptionEnum()SSLFDProxygetFileDesc()intgetLevel()SSLAlertLevelgetLevelEnum()SSLSocketgetSocket()voidsetDescription(int description)voidsetDescription(SSLAlertDescription description)voidsetLevel(int level)voidsetLevel(SSLAlertLevel level)voidthrowException()javax.net.ssl.SSLExceptiontoException()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SSLAlertEvent
public SSLAlertEvent(SSLSocket socket)
-
SSLAlertEvent
public SSLAlertEvent(SSLSocket socket, int level, int description)
-
SSLAlertEvent
public SSLAlertEvent(SSLSocket socket, SSLAlertLevel level, SSLAlertDescription description)
-
SSLAlertEvent
public SSLAlertEvent(SSLFDProxy proxy)
-
SSLAlertEvent
public SSLAlertEvent(SSLFDProxy proxy, int level, int description)
-
SSLAlertEvent
public SSLAlertEvent(SSLFDProxy proxy, SSLAlertLevel level, SSLAlertDescription description)
-
-
Method Detail
-
getSocket
public SSLSocket getSocket()
-
getFileDesc
public SSLFDProxy getFileDesc()
-
getLevel
public int getLevel()
-
getLevelEnum
public SSLAlertLevel getLevelEnum()
-
setLevel
public void setLevel(int level)
-
setLevel
public void setLevel(SSLAlertLevel level)
-
getDescription
public int getDescription()
-
getDescriptionEnum
public SSLAlertDescription getDescriptionEnum()
-
setDescription
public void setDescription(int description)
-
setDescription
public void setDescription(SSLAlertDescription description)
-
toException
public javax.net.ssl.SSLException toException()
-
throwException
public void throwException() throws javax.net.ssl.SSLException- Throws:
javax.net.ssl.SSLException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.EventObject
-
-