Class FilesSizeRequestHandler

java.lang.Object
com.cloud.clientpak.handlers.FilesSizeRequestHandler

public class FilesSizeRequestHandler extends Object
Message Listener class FilesSizeRequest.
  • Field Details

    • controller

      private final Controller controller
      Variable Controller
    • check

      private boolean check
      The marker label required to display the file upload.
    • percentProgBar

      private double percentProgBar
      Percentage of the progress bar.
  • Constructor Details

    • FilesSizeRequestHandler

      public FilesSizeRequestHandler(Controller controller)
      The constructor saves a reference to the application controller.
      Parameters:
      controller - application controller.
  • Method Details

    • filesSizeReqHandle

      public void filesSizeReqHandle(io.netty.channel.ChannelHandlerContext ctx, Object msg)
      After receiving a response from the server about the data in the cloud, updates all data in the GUI about the state of the cloud.
      Parameters:
      ctx - channel context.
      msg - the message object.