|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.objectweb.mobilitools.smi.MAFAgentSystem_impl
MobiliTools $Name: $, $Id: MAFAgentSystem_impl.java,v 1.1.1.1 2003/03/28 14:48:05 dillense Exp $
Implementation of MAF's MAFAgentSystem interface (always bound to an Agency instance).
Agency
Constructor Summary | |
MAFAgentSystem_impl(Agency agency)
Creates a new implementation of the MAFAgentSystem MAF interface. |
|
MAFAgentSystem_impl(Agency agency,
boolean traceOn)
Creates Creates a new implementation of the MAFAgentSystem MAF interface. |
Method Summary | |
org.omg.CfMAF.Name |
create_agent(org.omg.CfMAF.Name agent_name,
org.omg.CfMAF.AgentProfile agent_profile,
byte[] agent,
java.lang.String place_name,
byte[] arguments,
org.omg.CfMAF.ClassName[] class_names,
java.lang.String code_base,
org.omg.CfMAF.MAFAgentSystem class_provider)
Creates an agent. |
byte[][] |
fetch_class(org.omg.CfMAF.ClassName[] class_name_list,
java.lang.String code_base,
org.omg.CfMAF.AgentProfile agent_profile)
Returns code for requested classes. |
java.lang.String |
find_nearby_agent_system_of_profile(org.omg.CfMAF.AgentProfile agent_profile)
Not implemented. |
org.omg.CfMAF.AgentStatus |
get_agent_status(org.omg.CfMAF.Name agent_name)
|
org.omg.CfMAF.AgentSystemInfo |
get_agent_system_info()
|
org.omg.CfMAF.AuthInfo |
get_authinfo(org.omg.CfMAF.Name agent_name)
Not implemented. |
org.omg.CfMAF.MAFFinder |
get_MAFFinder()
|
org.omg.CfMAF.Name[] |
list_agents(org.omg.CfMAF.AgentProfile profile)
|
org.omg.CfMAF.Name[] |
list_all_agents_of_authority(byte[] authority)
|
org.omg.CfMAF.Name[] |
list_all_agents()
|
java.lang.String[] |
list_all_places()
Not implemented. |
void |
move_agent(org.omg.CfMAF.Name name,
java.lang.String destination,
java.lang.String place)
|
void |
receive_agent(org.omg.CfMAF.Name agent_name,
org.omg.CfMAF.AgentProfile agent_profile,
byte[] agent,
java.lang.String place_name,
org.omg.CfMAF.ClassName[] class_names,
java.lang.String code_base,
org.omg.CfMAF.MAFAgentSystem sender)
Receives a migrating agent. |
void |
resume_agent(org.omg.CfMAF.Name agent_name)
Resumes the activity of an agent. |
void |
suspend_agent(org.omg.CfMAF.Name agent_name)
Suspends the activity of an agent. |
void |
terminate_agent_system()
Terminates the agency. |
void |
terminate_agent(org.omg.CfMAF.Name agent_name)
Terminates an agent. |
Constructor Detail |
public MAFAgentSystem_impl(Agency agency)
agency
- the bound Agency instance.public MAFAgentSystem_impl(Agency agency, boolean traceOn)
agency
- the bound Agency instance.traceOn
- must be true to switch call trace onMethod Detail |
public org.omg.CfMAF.Name create_agent(org.omg.CfMAF.Name agent_name, org.omg.CfMAF.AgentProfile agent_profile, byte[] agent, java.lang.String place_name, byte[] arguments, org.omg.CfMAF.ClassName[] class_names, java.lang.String code_base, org.omg.CfMAF.MAFAgentSystem class_provider) throws org.omg.CfMAF.ClassUnknown, org.omg.CfMAF.ArgumentInvalid, org.omg.CfMAF.DeserializationFailed, org.omg.CfMAF.MAFExtendedException
create_agent
in interface org.omg.CfMAF.MAFAgentSystemOperations
public byte[][] fetch_class(org.omg.CfMAF.ClassName[] class_name_list, java.lang.String code_base, org.omg.CfMAF.AgentProfile agent_profile) throws org.omg.CfMAF.ClassUnknown, org.omg.CfMAF.MAFExtendedException
fetch_class
in interface org.omg.CfMAF.MAFAgentSystemOperations
public java.lang.String find_nearby_agent_system_of_profile(org.omg.CfMAF.AgentProfile agent_profile) throws org.omg.CfMAF.EntryNotFound, org.omg.CORBA.NO_IMPLEMENT
find_nearby_agent_system_of_profile
in interface org.omg.CfMAF.MAFAgentSystemOperations
public org.omg.CfMAF.AgentStatus get_agent_status(org.omg.CfMAF.Name agent_name) throws org.omg.CfMAF.AgentNotFound
get_agent_status
in interface org.omg.CfMAF.MAFAgentSystemOperations
org.omg.CfMAF.AgentNotFound
- if the agent name does not exist.public org.omg.CfMAF.AgentSystemInfo get_agent_system_info()
get_agent_system_info
in interface org.omg.CfMAF.MAFAgentSystemOperations
public org.omg.CfMAF.AuthInfo get_authinfo(org.omg.CfMAF.Name agent_name) throws org.omg.CfMAF.AgentNotFound, org.omg.CORBA.NO_IMPLEMENT
get_authinfo
in interface org.omg.CfMAF.MAFAgentSystemOperations
public org.omg.CfMAF.MAFFinder get_MAFFinder() throws org.omg.CfMAF.FinderNotFound
get_MAFFinder
in interface org.omg.CfMAF.MAFAgentSystemOperations
org.omg.CfMAF.FinderNotFound
- current agency is running without MAFFinder support.public org.omg.CfMAF.Name[] list_all_agents()
list_all_agents
in interface org.omg.CfMAF.MAFAgentSystemOperations
public org.omg.CfMAF.Name[] list_all_agents_of_authority(byte[] authority)
list_all_agents_of_authority
in interface org.omg.CfMAF.MAFAgentSystemOperations
public java.lang.String[] list_all_places() throws org.omg.CORBA.NO_IMPLEMENT
list_all_places
in interface org.omg.CfMAF.MAFAgentSystemOperations
public void receive_agent(org.omg.CfMAF.Name agent_name, org.omg.CfMAF.AgentProfile agent_profile, byte[] agent, java.lang.String place_name, org.omg.CfMAF.ClassName[] class_names, java.lang.String code_base, org.omg.CfMAF.MAFAgentSystem sender) throws org.omg.CfMAF.ClassUnknown, org.omg.CfMAF.DeserializationFailed, org.omg.CfMAF.MAFExtendedException
receive_agent
in interface org.omg.CfMAF.MAFAgentSystemOperations
public void resume_agent(org.omg.CfMAF.Name agent_name) throws org.omg.CfMAF.AgentNotFound, org.omg.CfMAF.ResumeFailed, org.omg.CfMAF.AgentIsRunning
resume_agent
in interface org.omg.CfMAF.MAFAgentSystemOperations
public void suspend_agent(org.omg.CfMAF.Name agent_name) throws org.omg.CfMAF.AgentNotFound, org.omg.CfMAF.SuspendFailed, org.omg.CfMAF.AgentIsSuspended
suspend_agent
in interface org.omg.CfMAF.MAFAgentSystemOperations
public void terminate_agent(org.omg.CfMAF.Name agent_name) throws org.omg.CfMAF.AgentNotFound, org.omg.CfMAF.TerminateFailed
terminate_agent
in interface org.omg.CfMAF.MAFAgentSystemOperations
public void terminate_agent_system() throws org.omg.CfMAF.TerminateFailed
terminate_agent_system
in interface org.omg.CfMAF.MAFAgentSystemOperations
public org.omg.CfMAF.Name[] list_agents(org.omg.CfMAF.AgentProfile profile)
list_agents
in interface org.objectweb.mobilitools.smi.idl.MAFAgentSystemComplementOperations
public void move_agent(org.omg.CfMAF.Name name, java.lang.String destination, java.lang.String place) throws org.omg.CfMAF.AgentNotFound, org.omg.CfMAF.ClassUnknown, org.omg.CfMAF.DeserializationFailed, org.objectweb.mobilitools.smi.idl.AgentSystemNotFound, org.omg.CfMAF.ArgumentInvalid, org.objectweb.mobilitools.smi.idl.AgentRefusedToMove, org.omg.CfMAF.MAFExtendedException
move_agent
in interface org.objectweb.mobilitools.smi.idl.MAFAgentSystemComplementOperations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |