Package jason.infra.local
Class BaseRuntimeServices
java.lang.Object
jason.infra.local.BaseRuntimeServices
- All Implemented Interfaces:
RuntimeServices,Remote
- Direct Known Subclasses:
LocalRuntimeServices
implement services that are based on BaseLocalMAS
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddfDeRegister(String agName, String service, String type) voiddfRegister(String agName, String service, String type) voiddfSubscribe(String agName, String service, String type) Returns a set of all agents' nameintGets the number of agents in the MAS.getDF()getNewAgentName(String baseName) getWP()voidregisterDefaultAgArch(String agArch) Every agent that will be create use registered archsvoidstopMAS(int deadline, boolean stopJVM, int exitValue) Stops all MAS (the agents, the environment, the controller, ...)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jason.runtime.RuntimeServices
clone, createAgent, getAgentSnapshot, getAgStatus, getMASName, isRunning, killAgent, loadASL, runAsAgent, startAgent, stopMAS
-
Field Details
-
masRunner
-
-
Constructor Details
-
BaseRuntimeServices
-
-
Method Details
-
registerDefaultAgArch
Every agent that will be create use registered archs- Specified by:
registerDefaultAgArchin interfaceRuntimeServices
-
getDefaultAgArchs
- Specified by:
getDefaultAgArchsin interfaceRuntimeServices
-
getNewAgentName
- Specified by:
getNewAgentNamein interfaceRuntimeServices
-
getAgentsName
Description copied from interface:RuntimeServicesReturns a set of all agents' name- Specified by:
getAgentsNamein interfaceRuntimeServices
-
getAgentsQty
public int getAgentsQty()Description copied from interface:RuntimeServicesGets the number of agents in the MAS.- Specified by:
getAgentsQtyin interfaceRuntimeServices
-
stopMAS
Description copied from interface:RuntimeServicesStops all MAS (the agents, the environment, the controller, ...)- Specified by:
stopMASin interfaceRuntimeServices- Throws:
Exception
-
dfRegister
- Specified by:
dfRegisterin interfaceRuntimeServices
-
dfDeRegister
- Specified by:
dfDeRegisterin interfaceRuntimeServices
-
dfSearch
- Specified by:
dfSearchin interfaceRuntimeServices
-
dfSubscribe
- Specified by:
dfSubscribein interfaceRuntimeServices
-
getDF
- Specified by:
getDFin interfaceRuntimeServices
-
getWP
- Specified by:
getWPin interfaceRuntimeServices
-