You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
522 B
19 lines
522 B
namespace MultiTerm.Protocols;
|
|
|
|
public interface IProtocolSettings
|
|
{
|
|
/// <summary>
|
|
/// Newline sequence to add on the end when sending a message.
|
|
/// </summary>
|
|
string NewlineSequenceOnSend { get; }
|
|
|
|
/// <summary>
|
|
/// When this sequence is detected while reading, a new line is introduced.
|
|
/// </summary>
|
|
string NewlineOnReceivedSequence { get; }
|
|
|
|
/// <summary>
|
|
/// Checks if the entered settings are valid and a connection can be made.
|
|
/// </summary>
|
|
void AreValid();
|
|
}
|
|
|