|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.wrapper.ContainerController | +--jade.wrapper.AgentContainer
This class is maintained for backward compatibility only.
It is not depracated since, for backward compatibility
reasons, it is used internally by the framework.
Use jade.wrapper.ContainerController
instead.
Nested Class Summary |
Nested classes inherited from class jade.wrapper.PlatformController |
PlatformController.Listener |
Field Summary |
Fields inherited from class jade.wrapper.ContainerController |
myPlatformController |
Constructor Summary | |
AgentContainer(ContainerProxy cp,
jade.core.AgentContainer impl,
java.lang.String platformName)
|
Method Summary | |
void |
addPlatformListener(PlatformController.Listener aListener)
Add a platform listener. |
java.lang.String |
getName()
Get the name of the platform. |
State |
getState()
Returns an instance of PlatformState. |
void |
removePlatformListener(PlatformController.Listener aListener)
Remove a platform listener. |
void |
resume()
Activate the agent platform. |
void |
start()
Start the platform after its been initialized. |
void |
suspend()
Suspend the agent platform. |
Methods inherited from class jade.wrapper.ContainerController |
acceptNewAgent, createNewAgent, getAgent, getContainerName, getPlatformController, getPlatformName, initPlatformController, installMTP, kill, uninstallMTP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jade.wrapper.PlatformController |
createNewAgent, getAgent, kill |
Constructor Detail |
public AgentContainer(ContainerProxy cp, jade.core.AgentContainer impl, java.lang.String platformName)
Method Detail |
public java.lang.String getName()
PlatformController
getName
in interface PlatformController
public void start() throws ControllerException
PlatformController
start
in interface PlatformController
ControllerException
- If any probelms other than illegal state occur.public void suspend() throws ControllerException
PlatformController
suspend
in interface PlatformController
ControllerException
- If any probelms other than illegal state occur.public void resume() throws ControllerException
PlatformController
resume
in interface PlatformController
ControllerException
- If any probelms other than illegal state occur.public State getState()
PlatformController
getState
in interface PlatformController
public void addPlatformListener(PlatformController.Listener aListener) throws ControllerException
PlatformController
addPlatformListener
in interface PlatformController
aListener
- The listener to be notified.
ControllerException
public void removePlatformListener(PlatformController.Listener aListener) throws ControllerException
PlatformController
removePlatformListener
in interface PlatformController
aListener
- The listener to be notified.
ControllerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |