C# Class Halibut.Transport.SecureClient

Mostrar archivo Open project: OctopusDeploy/Halibut Class Usage Examples

Public Methods

Method Description
ExecuteTransaction ( Action protocolHandler ) : void
HandleError ( Exception lastError, bool retryAllowed ) : void
ReleaseConnection ( IConnection connection ) : void
SecureClient ( ServiceEndPoint serviceEndpoint, X509Certificate2 clientCertificate, ILog log, IConnection>.ConnectionPool pool ) : System

Private Methods

Method Description
AcquireConnection ( ) : IConnection
CreateConnectedTcpClient ( ServiceEndPoint endPoint ) : TcpClient
CreateTcpClient ( ) : TcpClient
EstablishNewConnection ( ) : SecureConnection
UserCertificateSelectionCallback ( object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string acceptableIssuers ) : X509Certificate

Method Details

ExecuteTransaction() public method

public ExecuteTransaction ( Action protocolHandler ) : void
protocolHandler Action
return void

HandleError() public method

public HandleError ( Exception lastError, bool retryAllowed ) : void
lastError System.Exception
retryAllowed bool
return void

ReleaseConnection() public method

public ReleaseConnection ( IConnection connection ) : void
connection IConnection
return void

SecureClient() public method

public SecureClient ( ServiceEndPoint serviceEndpoint, X509Certificate2 clientCertificate, ILog log, IConnection>.ConnectionPool pool ) : System
serviceEndpoint ServiceEndPoint
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
log ILog
pool IConnection>.ConnectionPool
return System