Package protocolP2P

Class LoadRequest


  • public class LoadRequest
    extends Payload
    Representation of payload for load request.
    Version:
    1.0
    Author:
    Louis Royer, Flavien Haas, JS Auge
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadRequest​(java.lang.String filename)
      Constructor (typically used by the server) with a filename parameter.
    • Constructor Detail

      • LoadRequest

        public LoadRequest​(java.lang.String filename)
                    throws InternalError
        Constructor (typically used by the server) with a filename parameter.
        Parameters:
        filename - name of the file to download. Must not be empty.
        Throws:
        InternalError
    • Method Detail

      • getFilename

        public java.lang.String getFilename()
        filename getter.
        Returns:
        filename