Show / Hide Table of Contents

    Class RpcClientChannelFactory

    Inheritance
    System.Object
    TcpClientChannelFactory
    RpcClientChannelFactory
    Implements
    ITcpClientChannelFactory
    Inherited Members
    TcpClientChannelFactory.BuildChannel(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)
    TcpClientChannelFactory.Bootstrap(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)
    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.Modules.Rpc.Client.IO.Transport.Channels
    Assembly: Catalyst.Core.Modules.Rpc.Client.dll
    Syntax
    public class RpcClientChannelFactory : TcpClientChannelFactory, ITcpClientChannelFactory

    Constructors

    | Improve this Doc View Source

    RpcClientChannelFactory(IKeySigner, IRpcMessageCorrelationManager, IPeerIdValidator, IPeerSettings, Int32, IScheduler)

    Declaration
    public RpcClientChannelFactory(IKeySigner keySigner, IRpcMessageCorrelationManager messageCorrelationCache, IPeerIdValidator peerIdValidator, IPeerSettings peerSettings, int backLogValue = 100, IScheduler scheduler = null)
    Parameters
    Type Name Description
    IKeySigner keySigner
    IRpcMessageCorrelationManager messageCorrelationCache
    IPeerIdValidator peerIdValidator
    IPeerSettings peerSettings
    System.Int32 backLogValue
    IScheduler scheduler

    Properties

    | Improve this Doc View Source

    HandlerGenerationFunction

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

    Methods

    | Improve this Doc View Source

    BuildChannel(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)

    Declaration
    public override Task<IObservableChannel> BuildChannel(IEventLoopGroupFactory eventLoopGroupFactory, IPAddress targetAddress, int targetPort, X509Certificate2 certificate = null)
    Parameters
    Type Name Description
    IEventLoopGroupFactory eventLoopGroupFactory
    System.Net.IPAddress targetAddress

    Ignored

    System.Int32 targetPort

    Ignored

    System.Security.Cryptography.X509Certificates.X509Certificate2 certificate

    Local TLS certificate

    Returns
    Type Description
    System.Threading.Tasks.Task<IObservableChannel>

    Implements

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