Class FilesListRequestHandler

java.lang.Object
com.cloud.serverpak.handlers.FilesListRequestHandler

public class FilesListRequestHandler extends Object
The message listener class, defines the response to the request (Files Size Request), about receiving the state of the Cloud for the user who sent the request.
See Also:
  • Field Details

  • Constructor Details

    • FilesListRequestHandler

      public FilesListRequestHandler(MainHandler mainHandler)
      The constructor saves a reference to the main listener.
      Parameters:
      mainHandler - Netty's main listener.
  • Method Details

    • filesListHandle

      public void filesListHandle(io.netty.channel.ChannelHandlerContext ctx, Object msg)
      Sends a list of files in the cloud to the user.
      Parameters:
      ctx - channel context.
      msg - the message object.