jason.service.admin
Class AdminService

java.lang.Object
  |
  +--jason.core.AbstractService
        |
        +--jason.core.ThreadableService
              |
              +--jason.core.TaskableService
                    |
                    +--jason.core.SocketService
                          |
                          +--jason.service.admin.AdminService
All Implemented Interfaces:
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


Field Summary
static java.lang.String TYPE
           
 
Fields inherited from class jason.core.SocketService
port, serverSocket, traceRequest
 
Fields inherited from class jason.core.ThreadableService
activeThread
 
Fields inherited from class jason.core.AbstractService
handler, INITIALIZED, name, NOSTATE, serviceContext, STARTED, STOPPED
 
Fields inherited from interface jason.core.Service
ERROR_MESSAGE, INFORMATION_MESSAGE, VERBOSE_MESSAGE, WARNING_MESSAGE
 
Constructor Summary
AdminService()
           
 
Method Summary
protected  Task getTaskForSocket(java.net.Socket host)
           
 
Methods inherited from class jason.core.SocketService
beforeRun, fireConflictDetected, fireSocketAccept, getSocketTimeout, notifyBadPort, notifyData, notifyInitReady, run, setBacklog, setSocketTimeout, setTraceRequest, start
 
Methods inherited from class jason.core.TaskableService
notifyTask
 
Methods inherited from class jason.core.ThreadableService
actionForStart, enableServiceForThread, 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, getState, getStringProperty, getType, getVersion, hasServiceContext, init, isEnabled, isInitialized, isOverride, isPrivate, isProcessable, isStarted, isStopped, isTest, isThreadable, isVerbose, manageRequest, manageRequestForType, notifyStartReady, notifyStopReady, restart, sendCustomMessage, sendErrorMessage, sendInformationMessage, sendInnerError, sendWarningMessage, setEnabled, setName, setPrivate, setServiceContext, setTest, setType, setVerbose, setVersion, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static java.lang.String TYPE
Constructor Detail

AdminService

public AdminService()
Method Detail

getTaskForSocket

protected Task getTaskForSocket(java.net.Socket host)
                         throws ServiceException
Overrides:
getTaskForSocket in class SocketService
Following copied from class: jason.core.SocketService
Returns:
a task for a user socker