Class StoreMessage

  • All Implemented Interfaces:
    Serializable

    public class StoreMessage
    extends ArchiveMessage
    Messages requesting store of file. This message is sent to the arc repository which distributes the file to the known bitarchives, and checks the result, and then responds to the sender.
    See Also:
    Serialized Form
    • Constructor Detail

      • StoreMessage

        public StoreMessage​(ChannelID replyTo,
                            File arcfile)
        Construct StoreMessage.
        Parameters:
        replyTo - Channel to reply back to
        arcfile - The file to store
    • Method Detail

      • getArcfileName

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

        public String getPrecomputedChecksum()
      • 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