Class RpcClientFactory
Inheritance
System.Object
RpcClientFactory
Assembly: Catalyst.Core.Modules.Rpc.Client.dll
Syntax
public sealed class RpcClientFactory : IRpcClientFactory
Constructors
|
Improve this Doc
View Source
RpcClientFactory(ITcpClientChannelFactory, ITcpClientEventLoopGroupFactory, IEnumerable<IRpcResponseObserver>)
Declaration
public RpcClientFactory(ITcpClientChannelFactory channelFactory, ITcpClientEventLoopGroupFactory clientEventLoopGroupFactory, IEnumerable<IRpcResponseObserver> handlers)
Parameters
| Type |
Name |
Description |
| ITcpClientChannelFactory |
channelFactory |
|
| ITcpClientEventLoopGroupFactory |
clientEventLoopGroupFactory |
|
| System.Collections.Generic.IEnumerable<IRpcResponseObserver> |
handlers |
|
Methods
|
Improve this Doc
View Source
GetClient(X509Certificate2, IRpcClientConfig)
Declaration
public Task<IRpcClient> GetClient(X509Certificate2 certificate, IRpcClientConfig clientConfig)
Parameters
| Type |
Name |
Description |
| System.Security.Cryptography.X509Certificates.X509Certificate2 |
certificate |
|
| IRpcClientConfig |
clientConfig |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<IRpcClient> |
|