using System.Net.Sockets;
using WIDESEAWCS_QuartzJob;
namespace WIDESEAWCS_Tasks.Workflow.Abstractions
{
///
/// Socket ¿Í»§¶ËÍø¹Ø¡£ÓÃÓÚ¸ôÀë Robot ÒµÎñ¶Ô TcpSocketServer µÄÖ±½ÓÒÀÀµ¡£
///
public interface ISocketClientGateway
{
Task SendToClientAsync(string clientId, string message);
Task SendMessageAsync(TcpClient client, string message);
IReadOnlyList GetClientIds();
Task HandleClientAsync(TcpClient client, string clientId, CancellationToken cancellationToken, RobotSocketState robotCrane);
}
}