Class RegistryHandler

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

public class RegistryHandler extends Object
The message listener logger class.
  • Field Details

  • Constructor Details

    • RegistryHandler

      public RegistryHandler(Controller controller)
      Creates a collection HashMap, puts it in the form of keys message classes, as well as listener methods for processing these messages.
      Parameters:
      controller - application controller.
  • Method Details

    • getHandler

      public RequestHandler getHandler(Class cl)
      Returns the listener method from the HashMap collection, by the class of the received message.
      Parameters:
      cl - Message class
      Returns:
      method of the listener in the interface variable.