Class MessageContext

java.lang.Object
org.nuclos.api.context.MessageContext

public class MessageContext extends Object
MessageContext adds support for sending commands to the client.
  • Constructor Details

    • MessageContext

      MessageContext()
  • Method Details

    • setMessageContextService

      public void setMessageContextService(MessageContextService service)
    • sendMessage

      public static void sendMessage(String message)
    • sendMessage

      public static void sendMessage(String message, String title)
    • sendProgress

      public static void sendProgress(int percent, String message)
    • sendClose

      public static void sendClose()
      Sends an CloseCommand to the client.
    • sendCommand

      public static void sendCommand(Command command)
      Sends the given command to the client.
      Parameters:
      command -