public NetClient(IClientFeedbackProvider feedbackProvider) { IsSending = false; MessageInitializer.RegisterMessagesWithSerializer(_formatter); _feedbackProvider = feedbackProvider; }
public TcpServer(IServerFeedbackProvider feedbackProvider) { _formatter = new CustomBinaryFormatter(); MessageInitializer.RegisterMessagesWithSerializer(_formatter); _feedbackProvider = feedbackProvider; }