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 int
getDescription()
SSLAlertDescription
getDescriptionEnum()
JSSEngine
getEngine()
SSLFDProxy
getFileDesc()
int
getLevel()
SSLAlertLevel
getLevelEnum()
SSLSocket
getSocket()
void
setDescription(int description)
void
setDescription(SSLAlertDescription description)
void
setEngine(JSSEngine new_engine)
void
setLevel(int level)
void
setLevel(SSLAlertLevel level)
void
throwException()
javax.net.ssl.SSLException
toException()
java.lang.String
toString()
-
-
-
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)
-
getEngine
public JSSEngine getEngine()
-
setEngine
public void setEngine(JSSEngine new_engine)
-
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:
toString
in classjava.util.EventObject
-
-