Show / Hide Table of Contents

    Class TcpServerChannelFactory

    Inheritance
    System.Object
    TcpServerChannelFactory
    Implements
    ITcpServerChannelFactory
    IChannelFactory
    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 Source

    TcpServerChannelFactory(Int32)

    Declaration
    protected TcpServerChannelFactory(int backLogValue = 100)
    Parameters
    Type Name Description
    System.Int32 backLogValue

    Properties

    | Improve this Doc View Source

    HandlerGenerationFunction

    Declaration
    protected abstract Func<List<IChannelHandler>> HandlerGenerationFunction { get; }
    Property Value
    Type Description
    System.Func<System.Collections.Generic.List<IChannelHandler>>

    Methods

    | Improve this Doc View Source

    Bootstrap(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>
    | Improve this Doc View Source

    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>

    Implements

    ITcpServerChannelFactory
    IChannelFactory
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network