|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Location | |
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 Location in org.objectweb.mobilitools.smi.api |
Fields in org.objectweb.mobilitools.smi.api declared as Location | |
protected Location |
Agency.my_location
|
Methods in org.objectweb.mobilitools.smi.api that return Location | |
Location |
Agency.getLocation()
|
Methods in org.objectweb.mobilitools.smi.api with parameters of type Location | |
void |
MobileObject.beforeMove(Location location,
java.lang.String place)
Called before before moving. |
void |
MobileObject.afterMove(AgentSystem agency,
Location location,
java.lang.String place)
Called on reinstalling in the target agency after a move. |
void |
MobileObject.afterMoveFailed(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 |
Agency.moveLocalAgent(Name 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.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.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 |
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) |
Uses of Location in org.objectweb.mobilitools.smi.goodies |
Methods in org.objectweb.mobilitools.smi.goodies that return Location | |
Location[] |
RegionManager.listAgentLocations(java.lang.String region,
java.util.Properties properties)
|
Location[] |
RegionManager.listAgencies(java.lang.String region,
java.util.Properties properties)
|
Location |
RegionManager.findAgent(java.lang.String region,
Name agent)
|
Location |
RegionManager.findAgency(java.lang.String region,
Name agency)
|
Methods in org.objectweb.mobilitools.smi.goodies with parameters of type Location | |
void |
BasicMobileObject.beforeMove(Location location,
java.lang.String place)
Empty method. |
void |
BasicMobileObject.afterMove(AgentSystem agency,
Location location,
java.lang.String place)
Sets attribute my_agency to new host agency. |
void |
BasicMobileObject.afterMoveFailed(Location location,
java.lang.String place,
int reason,
java.lang.String message)
Empty method. |
Name |
RegionManager.createAgent(Location location,
java.lang.String classname,
java.lang.String codebase,
Name name,
java.lang.String place,
org.omg.CfMAF.AgentProfile profile,
java.io.Serializable agent_data,
java.lang.Object argObj)
Creates an agent at the specified agent system location. |
void |
RegionManager.moveAgent(Location from_location,
Name agent,
Location to_location,
java.lang.String place)
Moves an agent to the specified location. |
void |
RegionManager.resumeAgent(Location location,
Name agent)
Resumes the activity of the specified agent residing at the specified location. |
void |
RegionManager.suspendAgent(Location location,
Name agent)
Suspends the activity of the specified agent residing at the specified location. |
boolean |
RegionManager.isRunning(Location location,
Name agent)
|
void |
RegionManager.terminateAgent(Location location,
Name agent)
Terminates the specified agent in the specified region. |
void |
RegionManager.terminateAgency(Location location)
Terminates the specified agency in the specified region. |
Name[] |
RegionManager.listAgentsIn(Location location)
|
Name[] |
RegionManager.listAgentsIn(Location location,
org.omg.CfMAF.AgentProfile profile)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |