Package jade.wrapper.gateway
Class SplitJadeGateway
- java.lang.Object
-
- jade.wrapper.gateway.DynamicJadeGateway
-
- jade.wrapper.gateway.SplitJadeGateway
-
public class SplitJadeGateway extends DynamicJadeGateway
-
-
Constructor Summary
Constructors Constructor Description SplitJadeGateway()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckJADE()This method checks if both the container, and the agent, are up and running.AIDcreateAID(String localName)booleanisGatewayActive()Return the state of JadeGatewayvoidshutdown()Kill the JADE Container in case it is running.-
Methods inherited from class jade.wrapper.gateway.DynamicJadeGateway
addListener, execute, execute, getProfileProperty, init, init, init, removeListener
-
-
-
-
Method Detail
-
checkJADE
public void checkJADE() throws StaleProxyException, ControllerExceptionDescription copied from class:DynamicJadeGatewayThis method checks if both the container, and the agent, are up and running. If not, then the method is responsible for renewing myContainer. Normally programmers do not need to invoke this method explicitly.- Overrides:
checkJADEin classDynamicJadeGateway- Throws:
StaleProxyExceptionControllerException
-
shutdown
public final void shutdown()
Description copied from class:DynamicJadeGatewayKill the JADE Container in case it is running.- Overrides:
shutdownin classDynamicJadeGateway
-
isGatewayActive
public boolean isGatewayActive()
Description copied from class:DynamicJadeGatewayReturn the state of JadeGateway- Overrides:
isGatewayActivein classDynamicJadeGateway- Returns:
- true if the container and the gateway agent are active, false otherwise
-
createAID
public AID createAID(String localName)
- Overrides:
createAIDin classDynamicJadeGateway
-
-