Class PeerServerChannelFactory
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.P2P.IO.Transport.Channels
Assembly: Catalyst.Core.Lib.dll
Syntax
public class PeerServerChannelFactory : UdpServerChannelFactory, IUdpServerChannelFactory, IChannelFactory
Constructors
| Improve this Doc View SourcePeerServerChannelFactory(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 SourceHandlerGenerationFunction
Declaration
protected override Func<List<IChannelHandler>> HandlerGenerationFunction { get; }
Property Value
| Type | Description |
|---|---|
| System.Func<System.Collections.Generic.List<IChannelHandler>> |
Overrides
Methods
| Improve this Doc View SourceBuildChannel(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> |