Class UploadMessage

    • Constructor Detail

      • UploadMessage

        public UploadMessage​(ChannelID to,
                             ChannelID replyTo,
                             RemoteFile rf)
        Construct UploadMessage.
        Parameters:
        to - Channel to message to
        replyTo - Channel to reply back to
        rf - The RemoteFile to upload
    • Method Detail

      • getArcfileName

        public String getArcfileName()
        Retrieve name of the uploaded file.
        Returns:
        current value of arcfileName
      • getRemoteFile

        public RemoteFile getRemoteFile()
        Get method for field theRemoteFile.
        Returns:
        Current value of theRemoteFile
      • toString

        public String toString()
        Generate String representation of this object.
        Overrides:
        toString in class NetarkivetMessage
        Returns:
        String representation of this object
      • setPrecomputedChecksum

        public void setPrecomputedChecksum​(String precomputedChecksum)
      • getPrecomputedChecksum

        public String getPrecomputedChecksum()