diff options
Diffstat (limited to 'src/main/kotlin/NinePTranslator.kt')
-rw-r--r-- | src/main/kotlin/NinePTranslator.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/NinePTranslator.kt b/src/main/kotlin/NinePTranslator.kt index 0bbcb9d..ebb04c5 100644 --- a/src/main/kotlin/NinePTranslator.kt +++ b/src/main/kotlin/NinePTranslator.kt @@ -7,6 +7,8 @@ TODO: * The [NinePTranslator] interface provides methods that coincide 1:1 with each request and response type in the 9P * protocol, except for `Rerror` which is handled at occurrence. * + * Tags are supposed to be managed internally by the class that provides the implementation. + * * Trivia: comments for each method are taken from each message type's manual page in section 5. */ interface NinePTranslator { @@ -15,15 +17,13 @@ interface NinePTranslator { * * This must be the first message sent on the 9P connection and no other requests can be issued until a response has * been received. - * Tag should be NOTAG ((ushort)~0). * - * @param tag Should be NOTAG ((ushort)~0). * @param msize The maximum length, in bytes, that the client will ever generate or expect to receive in a single * 9P message. * @param version Should be "9P2000", which is the only defined value. * @return a possible error. */ - fun version(tag: SizedMessageField, msize: SizedMessageField, version: String): String? + fun version(msize: SizedMessageField, version: String): String? /** * Perform authentication. |