C# Class Agnos.Transports.SslSocketTransport

an implementation of a transport over SSL sockets. example: SslSocketTransport t = new SslSocketTransport("localhost", 12345) in order to configure an SSL connection, create an SslStream and pass it to the constructor
Inheritance: BaseTransport
Show file Open project: tomerfiliba/agnos

Protected Properties

Property Type Description
sock Socket

Public Methods

Method Description
SslSocketTransport ( IPAddress addr, int port ) : System.Text
SslSocketTransport ( Socket sock ) : System.Text
SslSocketTransport ( SslStream stream ) : System.Text
SslSocketTransport ( SslStream stream, int bufsize ) : System.Text
SslSocketTransport ( String host, int port ) : System.Text

Method Details

SslSocketTransport() public method

public SslSocketTransport ( IPAddress addr, int port ) : System.Text
addr System.Net.IPAddress
port int
return System.Text

SslSocketTransport() public method

public SslSocketTransport ( Socket sock ) : System.Text
sock Socket
return System.Text

SslSocketTransport() public method

public SslSocketTransport ( SslStream stream ) : System.Text
stream System.Net.Security.SslStream
return System.Text

SslSocketTransport() public method

public SslSocketTransport ( SslStream stream, int bufsize ) : System.Text
stream System.Net.Security.SslStream
bufsize int
return System.Text

SslSocketTransport() public method

public SslSocketTransport ( String host, int port ) : System.Text
host String
port int
return System.Text

Property Details

sock protected property

protected Socket sock
return Socket