Class ClajControl

java.lang.Object
arc.util.CommandHandler
com.xpdustry.claj.server.ClajControl
All Implemented Interfaces:
arc.ApplicationListener

public class ClajControl extends arc.util.CommandHandler implements arc.ApplicationListener
  • Nested Class Summary

    Nested classes/interfaces inherited from class arc.util.CommandHandler

    arc.util.CommandHandler.Command, arc.util.CommandHandler.CommandParam, arc.util.CommandHandler.CommandResponse, arc.util.CommandHandler.CommandRunner<T>, arc.util.CommandHandler.ResponseType
  • Field Summary

    Fields inherited from class arc.util.CommandHandler

    prefix
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected com.xpdustry.claj.common.status.CloseReason
     
    protected ClajRoom
     
    protected com.xpdustry.claj.common.status.ClajType
     
    void
     
    void
    Start a new daemon thread listening System.in for commands.
    void
     

    Methods inherited from class arc.util.CommandHandler

    getCommandList, getPrefix, handleMessage, handleMessage, register, register, register, register, removeCommand, setPrefix

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface arc.ApplicationListener

    exit, fileDropped, pause, resize, resume, update
  • Constructor Details

    • ClajControl

      public ClajControl()
  • Method Details

    • init

      public void init()
      Start a new daemon thread listening System.in for commands.
      Specified by:
      init in interface arc.ApplicationListener
    • dispose

      public void dispose()
      Specified by:
      dispose in interface arc.ApplicationListener
    • handleCommand

      public void handleCommand(String line)
    • registerCommands

      public void registerCommands()
    • getRoom

      protected ClajRoom getRoom(String arg)
    • getType

      protected com.xpdustry.claj.common.status.ClajType getType(String arg)
    • getReason

      protected com.xpdustry.claj.common.status.CloseReason getReason(String arg)