C# Class Halibut.Transport.SecureClient

Afficher le fichier Open project: OctopusDeploy/Halibut Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ExecuteTransaction ( Action protocolHandler ) : void
protocolHandler Action
Résultat void

HandleError() public méthode

public HandleError ( Exception lastError, bool retryAllowed ) : void
lastError System.Exception
retryAllowed bool
Résultat void

ReleaseConnection() public méthode

public ReleaseConnection ( IConnection connection ) : void
connection IConnection
Résultat void

SecureClient() public méthode

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
Résultat System