C# Class Netronics.Channel.Channel.SslChannel

Socket에다 SSL을 사용하는 Channel 클래스
Inheritance: Channel
Mostrar archivo Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
CreateChannel ( Socket socket, System certificate ) : SslChannel
CreateChannel ( Socket socket, string host ) : SslChannel
GetSocket ( ) : Socket
GetTag ( ) : object
SendMessage ( dynamic message ) : void
SetTag ( object tag ) : object
ToString ( ) : string

Protected Methods

Method Description
BeginReceive ( ) : void
Disconnected ( ) : void

Private Methods

Method Description
ReadCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void
SslChannel ( Socket socket ) : System

Method Details

BeginReceive() protected method

protected BeginReceive ( ) : void
return void

CreateChannel() public static method

public static CreateChannel ( Socket socket, System certificate ) : SslChannel
socket System.Net.Sockets.Socket
certificate System
return SslChannel

CreateChannel() public static method

public static CreateChannel ( Socket socket, string host ) : SslChannel
socket System.Net.Sockets.Socket
host string
return SslChannel

Disconnected() protected method

protected Disconnected ( ) : void
return void

GetSocket() public method

public GetSocket ( ) : Socket
return System.Net.Sockets.Socket

GetTag() public method

public GetTag ( ) : object
return object

SendMessage() public method

public SendMessage ( dynamic message ) : void
message dynamic
return void

SetTag() public method

public SetTag ( object tag ) : object
tag object
return object

ToString() public method

public ToString ( ) : string
return string