Class RpcClientChannelFactory
Implements
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.Modules.Rpc.Client.IO.Transport.Channels
Assembly: Catalyst.Core.Modules.Rpc.Client.dll
Syntax
public class RpcClientChannelFactory : TcpClientChannelFactory, ITcpClientChannelFactory
Constructors
| Improve this Doc View SourceRpcClientChannelFactory(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 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 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> |