Show / Hide Table of Contents

    Class PeerServerChannelFactory

    Inheritance
    System.Object
    UdpChannelFactoryBase
    UdpServerChannelFactory
    PeerServerChannelFactory
    Implements
    IUdpServerChannelFactory
    IChannelFactory
    Inherited Members
    UdpChannelFactoryBase.BootStrapChannel(IEventLoopGroupFactory, IPAddress, Int32)
    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.P2P.IO.Transport.Channels
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public class PeerServerChannelFactory : UdpServerChannelFactory, IUdpServerChannelFactory, IChannelFactory

    Constructors

    | Improve this Doc View Source

    PeerServerChannelFactory(IPeerMessageCorrelationManager, IBroadcastManager, IKeySigner, IPeerIdValidator, IPeerSettings, IScheduler)

    Declaration
    public PeerServerChannelFactory(IPeerMessageCorrelationManager messageCorrelationManager, IBroadcastManager broadcastManager, IKeySigner keySigner, IPeerIdValidator peerIdValidator, IPeerSettings peerSettings, IScheduler scheduler = null)
    Parameters
    Type Name Description
    IPeerMessageCorrelationManager messageCorrelationManager
    IBroadcastManager broadcastManager
    IKeySigner keySigner
    IPeerIdValidator peerIdValidator
    IPeerSettings peerSettings
    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
    UdpChannelFactoryBase.HandlerGenerationFunction

    Methods

    | Improve this Doc View Source

    BuildChannel(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)

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

    Ignored

    System.Int32 targetPort

    Ignored

    System.Security.Cryptography.X509Certificates.X509Certificate2 certificate

    Ignored

    Returns
    Type Description
    System.Threading.Tasks.Task<IObservableChannel>
    Overrides
    UdpServerChannelFactory.BuildChannel(IEventLoopGroupFactory, IPAddress, Int32, X509Certificate2)

    Implements

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