Uses of Class
org.objectweb.mobilitools.smi.api.BadOperation

Packages that use BadOperation
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 BadOperation in org.objectweb.mobilitools.smi.api
 

Methods in org.objectweb.mobilitools.smi.api that throw BadOperation
 void MobileObject.afterBirth(AgentSystem agency, AgentInfo entry, java.lang.Object arguments)
          Called on agent creation.
 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.beforeSuspend()
          Called to suspend the agent activity (if any).
 void MobileObject.beforeResume()
          Called to resume the agent activity (if any).
 AgentInfo Agency.createLocalAgent(java.lang.String agent_class, Name name, java.lang.String place, java.lang.String codebase, java.util.Properties properties, java.lang.Object argument)
          Creates an agent in current agency.
 AgentInfo Agency.createLocalAgent(java.lang.String classname, Name name, org.omg.CfMAF.AgentProfile profile, java.lang.String place, java.lang.String codebase, byte[] agent_data, java.lang.Object argument, org.omg.CfMAF.MAFAgentSystem class_provider)
          Creates an agent in current agency.
 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.terminateLocalAgent(Name agent)
          Invokes the beforeDeath() callback on an agent, and then terminates it.
 void Agency.terminateLocalAgent(MobileObject agent)
          Invokes the beforeDeath() callback on an agent, and then terminates it.
 void Agency.resumeLocalAgent(Name agent)
          Invokes the beforeResume() callback on an agent in order to resume its activity.
 void Agency.resumeLocalAgent(MobileObject agent)
          Invokes the beforeResume() callback on an agent in order to resume its activity.
 void Agency.suspendLocalAgent(Name agent)
          Invokes the beforeSuspend() callback on an agent in order to suspend its activity.
 void Agency.suspendLocalAgent(MobileObject agent)
          Invokes the beforeSuspend() callback on an agent in order to suspend its activity.
 void Agency.setLocalAgentProperty(Name agent, java.lang.String property, java.lang.String value)
          Sets, changes or unsets an agent property.
 void Agency.setLocalAgentProperty(MobileObject agent, java.lang.String property, java.lang.String value)
          Sets, changes or unsets an agent property.
 boolean Agency.localAgentIsRunning(Name agent)
           
 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.beforeSuspend(MobileObject agent)
          Call beforeSuspend() on agent
 void Agency.beforeResume(MobileObject agent)
          Call beforeResume() 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.beforeSuspend(MobileObject agent)
          Called to suspend the agent activity (if any).
 void AgencyPersonality.beforeResume(MobileObject agent)
          Called to resume the agent activity (if any).
 

Constructors in org.objectweb.mobilitools.smi.api that throw BadOperation
Location(java.lang.String location)
          Creates a new Location object from the provided location string.
Agency(java.lang.String name, java.lang.String region)
          Create a new agency for creating and receiving agents.
Agency(java.lang.String region, AgencyPersonality personality, AgentSystem shell, org.omg.CfMAF.AgentSystemInfo info)
          Create a new agency for creating and receiving agents, and customize it with the provided agency personality and shell.
Agency(java.lang.String name, java.lang.String region, org.omg.CORBA.ORB orb)
          Create a new agency for creating and receiving agents.
Agency(java.lang.String region, org.omg.CORBA.ORB orb, AgencyPersonality personality, AgentSystem shell, org.omg.CfMAF.AgentSystemInfo info)
          Create a new agency for creating and receiving agents.
 

Uses of BadOperation in org.objectweb.mobilitools.smi.goodies
 

Methods in org.objectweb.mobilitools.smi.goodies that throw BadOperation
 void BasicMobileObject.afterBirth(AgentSystem agency, AgentInfo entry, java.lang.Object argument)
          Sets attribute my_agency to current host agency.
 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.beforeSuspend()
          Empty method.
 void BasicMobileObject.beforeResume()
          Empty method.
 Name RegionManager.createAgent(java.lang.String region, Name agency, 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[] arguments)
          Creates an agent in the named agency of the specified region.
 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(java.lang.String from_region, Name agent, java.lang.String to_region, Name to_agency, java.lang.String place)
          Moves an agent to the named agency in the specified region.
 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(java.lang.String region, Name agent)
          Resumes the activity of the specified agent in the specified region.
 void RegionManager.resumeAgent(Location location, Name agent)
          Resumes the activity of the specified agent residing at the specified location.
 void RegionManager.suspendAgent(java.lang.String region, Name agent)
          Suspends the activity of the specified agent in the specified region.
 void RegionManager.suspendAgent(Location location, Name agent)
          Suspends the activity of the specified agent residing at the specified location.
 boolean RegionManager.isRunning(java.lang.String region, Name agent)
           
 boolean RegionManager.isRunning(Location location, Name agent)
           
 void RegionManager.terminateAgent(java.lang.String region, Name agent)
          Terminates the specified agent in the specified region.
 void RegionManager.terminateAgent(Location location, Name agent)
          Terminates the specified agent in the specified region.
 void RegionManager.terminateAgency(java.lang.String region, Name agency)
          Terminates the specified agency in the specified region.
 void RegionManager.terminateAgency(Location location)
          Terminates the specified agency in the specified region.
 Location[] RegionManager.listAgentLocations(java.lang.String region, java.util.Properties properties)
           
 Name[] RegionManager.listAgentNames(java.lang.String region, java.util.Properties properties)
           
 Name[] RegionManager.listAgentsIn(Location location)
           
 Name[] RegionManager.listAgentsIn(Location location, org.omg.CfMAF.AgentProfile profile)
           
 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)
           
 java.util.Properties RegionManager.getAgentProperties(java.lang.String region, Name name)
           
 

Constructors in org.objectweb.mobilitools.smi.goodies that throw BadOperation
RegionManager(org.omg.CORBA.ORB orb)
           
RegionManager()