C# Class DotNetty.Handlers.Tls.NotSslRecordException

Special exception which will get thrown if a packet is received that not looks like a TLS/SSL record. A user can check for this NotSslRecordException and so detect if one peer tries to use secure and the other plain connection.
Inheritance: Exception
显示文件 Open project: sekkit/Fenix Class Usage Examples

Public Methods

Method Description
NotSslRecordException ( ) : System
NotSslRecordException ( Exception cause ) : System
NotSslRecordException ( string message ) : System
NotSslRecordException ( string message, Exception cause ) : System

Method Details

NotSslRecordException() public method

public NotSslRecordException ( ) : System
return System

NotSslRecordException() public method

public NotSslRecordException ( Exception cause ) : System
cause Exception
return System

NotSslRecordException() public method

public NotSslRecordException ( string message ) : System
message string
return System

NotSslRecordException() public method

public NotSslRecordException ( string message, Exception cause ) : System
message string
cause Exception
return System