From 3e1b04196196d8402387ed0dd4d25249f740fabb Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Thu, 7 Aug 2025 19:11:14 +0200 Subject: implement flush --- src/main/kotlin/ProtocolTranslator.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/ProtocolTranslator.kt') diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index 4dad240..144eef6 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -38,8 +38,11 @@ interface ProtocolTranslator { /** * Abort a message. + * + * @param oldtag The tag of the message that needs to be purged. + * @return a possible error. */ - fun flush() + fun flush(oldtag: UShort): String? /** * Establish a connection. -- cgit v1.2.3