namespace MultiTerm.Protocols; public interface IProtocolSettings { /// /// Newline sequence to add on the end when sending a message. /// string NewlineSequenceOnSend { get; } /// /// When this sequence is detected while reading, a new line is introduced. /// string NewlineOnReceivedSequence { get; } /// /// Checks if the entered settings are valid and a connection can be made. /// /// true if the settings are valid bool AreValid(); }