namespace ZB.MOM.WW.MxGateway.Server.Sessions; /// /// Creates worker client instances for gateway sessions. /// public interface ISessionWorkerClientFactory { /// /// Creates a worker client for the specified session. /// /// Session to create a worker client for. /// Token to cancel the asynchronous operation. /// A worker client connected to the worker process. Task CreateAsync( GatewaySession session, CancellationToken cancellationToken); }