summaryrefslogtreecommitdiff
path: root/src/main/kotlin/ProtocolTranslator.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-07 19:11:14 +0200
committerEdoardo La Greca2025-08-07 19:11:14 +0200
commit3e1b04196196d8402387ed0dd4d25249f740fabb (patch)
tree5e063ba93e5645914b6f6866541130a067342fd4 /src/main/kotlin/ProtocolTranslator.kt
parentb3bea2bea5c90435f0f1ed42b0cf82e453105c13 (diff)
implement flush
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
-rw-r--r--src/main/kotlin/ProtocolTranslator.kt5
1 files changed, 4 insertions, 1 deletions
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.