Package com.cloud.clientpak.handlers
Class FilesSizeRequestHandler
java.lang.Object
com.cloud.clientpak.handlers.FilesSizeRequestHandler
Message Listener class
FilesSizeRequest.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanThe marker label required to display the file upload.private final ControllerVariableControllerprivate doublePercentage of the progress bar. -
Constructor Summary
ConstructorsConstructorDescriptionFilesSizeRequestHandler(Controller controller) The constructor saves a reference to the application controller. -
Method Summary
Modifier and TypeMethodDescriptionvoidfilesSizeReqHandle(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.
-
Field Details
-
controller
VariableController -
check
private boolean checkThe marker label required to display the file upload. -
percentProgBar
private double percentProgBarPercentage of the progress bar.
-
-
Constructor Details
-
FilesSizeRequestHandler
The constructor saves a reference to the application controller.- Parameters:
controller- application controller.
-
-
Method Details
-
filesSizeReqHandle
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.
-