Class TcpServerChannelFactory
Inheritance
System.Object
TcpServerChannelFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Lib.IO.Transport.Channels
Assembly: Catalyst.Core.Lib.dll
Syntax
public abstract class TcpServerChannelFactory : ITcpServerChannelFactory, IChannelFactory
Constructors
| Improve this Doc View SourceTcpServerChannelFactory(Int32)
Declaration
protected TcpServerChannelFactory(int backLogValue = 100)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | backLogValue |
Properties
| Improve this Doc View SourceHandlerGenerationFunction
Declaration
protected abstract Func<List<IChannelHandler>> HandlerGenerationFunction { get; }
Property Value
| Type | Description |
|---|---|
| System.Func<System.Collections.Generic.List<IChannelHandler>> |
Methods
| Improve this Doc View SourceBootstrap(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)
Declaration
protected Task<IChannel> Bootstrap(IEventLoopGroupFactory handlerEventLoopGroupFactory, IPAddress targetAddress, int targetPort, X509Certificate2 certificate)
Parameters
| Type | Name | Description |
|---|---|---|
| IEventLoopGroupFactory | handlerEventLoopGroupFactory | |
| System.Net.IPAddress | targetAddress | |
| System.Int32 | targetPort | |
| System.Security.Cryptography.X509Certificates.X509Certificate2 | certificate |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IChannel> |
BuildChannel(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)
Declaration
public abstract Task<IObservableChannel> BuildChannel(IEventLoopGroupFactory eventLoopGroupFactory, IPAddress targetAddress, int targetPort, X509Certificate2 certificate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEventLoopGroupFactory | eventLoopGroupFactory | |
| System.Net.IPAddress | targetAddress | |
| System.Int32 | targetPort | |
| System.Security.Cryptography.X509Certificates.X509Certificate2 | certificate |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IObservableChannel> |