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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected com.xpdustry.claj.common.status.CloseReasonprotected ClajRoomprotected com.xpdustry.claj.common.status.ClajTypeprotected ObjectgetValue(ClajConfig.Field<Object> field, String[] args, int from, boolean isElement) voidhandleCommand(String line) voidinit()Start a new daemon thread listeningSystem.infor commands.voidMethods inherited from class arc.util.CommandHandler
getCommandList, getPrefix, handleMessage, handleMessage, register, register, register, register, removeCommand, setPrefixMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 listeningSystem.infor commands.- Specified by:
initin interfacearc.ApplicationListener
-
dispose
public void dispose()- Specified by:
disposein interfacearc.ApplicationListener
-
handleCommand
-
registerCommands
public void registerCommands() -
getRoom
-
getType
-
getReason
-
getValue
protected Object getValue(ClajConfig.Field<Object> field, String[] args, int from, boolean isElement)
-