jason.core.service.admin
Class AdminService
java.lang.Object
|
+--jason.core.AbstractService
|
+--jason.core.ThreadableService
|
+--jason.core.TaskableService
|
+--jason.core.SocketService
|
+--jason.core.service.admin.AdminService
- All Implemented Interfaces:
- java.io.Serializable, Service, ServiceDataListener
- public class AdminService
- extends SocketService
Admin
Service that offers administration capacity for JASon.
It can for known user stops and starts special service.
Next release could include information about working.
- See Also:
- Serialized Form
Methods inherited from class jason.core.SocketService |
beforeRun, fireConflictDetected, fireSocketAccept, getSocketTimeout, notifyBadPort, notifyData, run, setBacklog, setSocketTimeout, setTraceRequest, start |
Methods inherited from class jason.core.ThreadableService |
actionForStart, enableServiceForThread, getThreadLoopDelay, isThreadLoopMode, isThreadStarted, isWaiting, notifyThreadRunning, runThread, setPriority, setThreadLoopDelay, setThreadLoopMode, threadNotify, threadWait |
Methods inherited from class jason.core.AbstractService |
checkForContext, fireCriticalErrorDetected, getBooleanProperty, getInfo, getIntProperty, getName, getPropertiesName, getProperty, getServiceContext, getServiceState, getState, getStringProperty, getType, getVersion, hasServiceContext, init, isAutoStop, isEnabled, isInitialized, isOverride, isPersistent, isPrivate, isProcessable, isStarted, isStopped, isTest, isThreadable, isVerbose, manageRequest, manageRequestForType, notifyStartReady, notifyStopReady, postStop, restart, sendCustomMessage, sendErrorMessage, sendInformationMessage, sendInnerError, sendWarningMessage, setAutoStop, setEnabled, setName, setPersistent, setPrivate, setProperty, setServiceContext, setTest, setType, setVerbose, setVersion, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static java.lang.String TYPE
DEBUG_MODE
public static boolean DEBUG_MODE
AVAILABLE_COMMANDS
public static java.lang.String[] AVAILABLE_COMMANDS
HELP_COMMANDS
public static java.lang.String[] HELP_COMMANDS
AdminService
public AdminService(int port)
notifyInitReady
public void notifyInitReady()
- Description copied from class:
SocketService
- Search for the port property
- Overrides:
notifyInitReady
in class SocketService
getTaskForSocket
protected Task getTaskForSocket(java.net.Socket host)
throws ServiceException
- Specified by:
getTaskForSocket
in class SocketService
- Returns:
- a task for a user socker
ServiceException