public abstract class TcpClientFactory<TClient> : ConnectableClientFactory<TClient>
where TClient : class, ITcpClient
Public MustInherit Class TcpClientFactory(Of TClient As {Class, ITcpClient})
Inherits ConnectableClientFactory(Of TClient)[<AbstractClassAttribute>]
type TcpClientFactory<'TClient when 'TClient : not struct and ITcpClient> =
class
inherit ConnectableClientFactory<'TClient>
end| TcpClientFactoryTClient | 初始化 TcpClientFactoryTClient 类的一个新实例 |
| AvailableCount |
获取可用的客户端数量。
该值指示了当前空闲的客户端数量和未创建的客户端数量。 (继承自 ClientFactoryTClient。) |
| CreatedClients |
已创建的客户端安全列表,一般不要直接操作。
(继承自 ClientFactoryTClient。) |
| CreatedCount |
获取已经创建的客户端数量。
(继承自 ClientFactoryTClient。) |
| DisposedValue |
标识该对象是否已被释放
(继承自 DisposableObject。) |
| FreeClients |
空闲客户端的安全队列,一般不要直接操作。
(继承自 ClientFactoryTClient。) |
| FreeCount |
获取空闲的客户端数量。
(继承自 ClientFactoryTClient。) |
| GetConfig |
获取传输的客户端配置
(继承自 ConnectableClientFactoryTClient。) |
| MaxCount |
最大客户端数量。默认10。
(继承自 ClientFactoryTClient。) |
| MaxWaitTime |
获取或设置客户端池等待可用客户端的最大时间。默认1秒。
(继承自 ClientFactoryTClient。) |
| MinCount |
池中维护的最小客户端数量。默认0。
(继承自 ClientFactoryTClient。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |