using ECPDAL.Communication.DTOs; namespace ECPSL.Communication.Hubs; /// /// Strongly-typed contract for server-to-client SignalR messages (plan's "SignalR hub" section). /// Every method here maps to a client-side event handler. /// public interface ICommunicationClient { Task ReceiveComment(CommentThreadDTO comment); Task ReceiveReply(CommentThreadDTO reply); Task ReceiveReaction(CommentReactionDTO reaction); Task ReceiveMention(CommentMentionDTO mention); Task ReceiveStatusChange(int commentThreadId, byte newStatus); Task ReceiveError(string code, string message); }