Class ChannelInitializerBase<T>
Inheritance
System.Object
ChannelInitializerBase<T>
Assembly: Catalyst.Core.Lib.dll
Syntax
public abstract class ChannelInitializerBase<T> : ChannelInitializer<T> where T : IChannel
Type Parameters
Constructors
|
Improve this Doc
View Source
ChannelInitializerBase(Func<IList<IChannelHandler>>, IEventLoopGroupFactory, IPAddress, X509Certificate)
Declaration
protected ChannelInitializerBase(Func<IList<IChannelHandler>> handlerGenerationFunction, IEventLoopGroupFactory eventLoopGroupFactory, IPAddress targetHost = null, X509Certificate certificate = null)
Parameters
Type |
Name |
Description |
System.Func<System.Collections.Generic.IList<IChannelHandler>> |
handlerGenerationFunction |
|
IEventLoopGroupFactory |
eventLoopGroupFactory |
|
System.Net.IPAddress |
targetHost |
|
System.Security.Cryptography.X509Certificates.X509Certificate |
certificate |
|
Methods
|
Improve this Doc
View Source
InitChannel(T)
Declaration
protected override void InitChannel(T channel)
Parameters
Type |
Name |
Description |
T |
channel |
|
|
Improve this Doc
View Source
NewTlsHandler(IPAddress, X509Certificate)
Creates a new TlsHandler.
Declaration
public abstract TlsHandler NewTlsHandler(IPAddress targetHost, X509Certificate certificate)
Parameters
Type |
Name |
Description |
System.Net.IPAddress |
targetHost |
|
System.Security.Cryptography.X509Certificates.X509Certificate |
certificate |
|
Returns
Type |
Description |
TlsHandler |
|