|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MobileObject | |
org.objectweb.mobilitools.smi | The core Simple MAF Implementation. |
org.objectweb.mobilitools.smi.api | User API for Simple MAF Implementation. |
org.objectweb.mobilitools.smi.goodies | Goodies for the Simple MAF/MASIF Implementation (GUI tools, helper classes). |
Uses of MobileObject in org.objectweb.mobilitools.smi |
Methods in org.objectweb.mobilitools.smi that return MobileObject | |
MobileObject |
AgentEntry.getAgent()
|
Constructors in org.objectweb.mobilitools.smi with parameters of type MobileObject | |
AgentEntry(MobileObject agent,
Name name,
java.lang.String place,
boolean running,
java.lang.String codebase,
java.util.Properties properties)
Creates a new data record describing an agent (with null as agency personality specific data) |
|
AgentEntry(MobileObject agent,
Name name,
java.lang.String place,
boolean running,
java.lang.String codebase,
java.util.Properties properties,
java.lang.Object data)
Creates a new data record describing an agent. |
Uses of MobileObject in org.objectweb.mobilitools.smi.api |
Methods in org.objectweb.mobilitools.smi.api that return MobileObject | |
MobileObject |
AgentInfo.getAgent()
|
Methods in org.objectweb.mobilitools.smi.api with parameters of type MobileObject | |
AgentInfo |
Agency.getAgentInfo(MobileObject agent)
|
void |
Agency.moveLocalAgent(MobileObject agent,
Location agency,
java.lang.String place)
Invokes the beforeMove() callback on the agent, and then tries
to move it if no exception has been thrown by beforeMove() .
|
void |
Agency.terminateLocalAgent(MobileObject agent)
Invokes the beforeDeath() callback on an agent, and then terminates it. |
void |
Agency.resumeLocalAgent(MobileObject agent)
Invokes the beforeResume() callback on an agent in order to resume its activity.
|
void |
Agency.suspendLocalAgent(MobileObject agent)
Invokes the beforeSuspend() callback on an agent in order to suspend its activity.
|
void |
Agency.setLocalAgentProperty(MobileObject agent,
java.lang.String property,
java.lang.String value)
Sets, changes or unsets an agent property. |
boolean |
Agency.localAgentIsRunning(MobileObject agent)
|
void |
Agency.afterBirth(MobileObject agent,
AgentSystem agency,
AgentInfo entry,
java.lang.Object arguments)
Call afterBirth() on agent. |
void |
Agency.beforeMove(MobileObject agent,
Location location,
java.lang.String place)
Call beforeMove() on agent. |
void |
Agency.afterMove(MobileObject agent,
AgentSystem agency,
Location location,
java.lang.String place)
Call afterMove() on agent. |
void |
Agency.afterMoveFailed(MobileObject agent,
Location agency,
java.lang.String place,
int reason,
java.lang.String message)
Call afterMoveFailed on agent. |
void |
Agency.beforeDeath(MobileObject agent)
Call beforeDeath() on agent |
void |
Agency.beforeSuspend(MobileObject agent)
Call beforeSuspend() on agent |
void |
Agency.beforeResume(MobileObject agent)
Call beforeResume() on agent |
void |
Agency.beforeShutdown(MobileObject agent)
Call beforeShutdown() on agent |
void |
AgencyPersonality.afterBirth(MobileObject agent,
AgentSystem agency,
AgentInfo entry,
java.lang.Object arguments)
Called on agent creation. |
void |
AgencyPersonality.beforeMove(MobileObject agent,
Location location,
java.lang.String place)
Called before before moving. |
void |
AgencyPersonality.afterMove(MobileObject agent,
AgentSystem agency,
Location location,
java.lang.String place)
Called on reinstalling in the target agency after a move. |
void |
AgencyPersonality.afterMoveFailed(MobileObject agent,
Location agency,
java.lang.String place,
int reason,
java.lang.String message)
Called on move failure. (note that throwing an exception in beforeMove() does not result in
afterMoveFailed() being called) |
void |
AgencyPersonality.beforeDeath(MobileObject agent)
Called before discarding the agent. (note that an exception in afterBirth() does not
result in beforeDeath() being called) |
void |
AgencyPersonality.beforeSuspend(MobileObject agent)
Called to suspend the agent activity (if any). |
void |
AgencyPersonality.beforeResume(MobileObject agent)
Called to resume the agent activity (if any). |
void |
AgencyPersonality.beforeShutdown(MobileObject agent)
Called before the agent's hosting agency shutdown. |
Uses of MobileObject in org.objectweb.mobilitools.smi.goodies |
Classes in org.objectweb.mobilitools.smi.goodies that implement MobileObject | |
class |
BasicMobileObject
MobiliTools $Name: $, $Id: BasicMobileObject.java,v 1.1.1.1 2003/03/28 14:48:06 dillense Exp $ Implementation of interface MobileObject, with (almost) empty methods, provided as a helper base class to implement mobile objects. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |