diff options
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
-rw-r--r-- | src/main/kotlin/ProtocolTranslator.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index 6747e98..5148120 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -138,8 +138,12 @@ interface ProtocolTranslator { /** * Remove a file from a server. + * + * @param fid The FID of the file to remove. + * @throws except.InvalidMessageException if the received message is invalid. + * @throws except.RErrorException if the received message is an R-error message. */ - fun remove(path: String) + fun remove(fid: UInt) /** * Inquire file attributes. |