org.objectweb.mobilitools.smi
Class MAFFinder_impl

org.objectweb.mobilitools.smi.MAFFinder_impl
All Implemented Interfaces:
org.objectweb.mobilitools.smi.idl.MAFFinderComplementOperations, org.omg.CfMAF.MAFFinderOperations

public class MAFFinder_impl
implements org.omg.CfMAF.MAFFinderOperations, org.objectweb.mobilitools.smi.idl.MAFFinderComplementOperations

MobiliTools $Name: $, $Id: MAFFinder_impl.java,v 1.1.1.1 2003/03/28 14:48:05 dillense Exp $

Implementation of MAF's MAFFinder interface.

See Also:
Finder

Constructor Summary
MAFFinder_impl(Finder finder)
           
 
Method Summary
 org.omg.CfMAF.AgentProfile get_agent_profile(org.omg.CfMAF.Name name)
           
 org.omg.CfMAF.Name[] lookup_agent_names(org.omg.CfMAF.AgentProfile profile)
           
 java.lang.String[] lookup_agent_system(org.omg.CfMAF.Name agent_system_name, org.omg.CfMAF.AgentSystemInfo agent_system_info)
          Lookup an agent system from its name if the identity part is not empty, or lists all agent systems otherwise.
 java.lang.String[] lookup_agent(org.omg.CfMAF.Name agent_name, org.omg.CfMAF.AgentProfile agent_profile)
          Lookup an agent from its name if the identity part is not empty, or lists all agents otherwise.
 java.lang.String[] lookup_place(java.lang.String place_name)
          Not implemented.
 void register_agent_system(org.omg.CfMAF.Name agent_system_name, java.lang.String agent_system_location, org.omg.CfMAF.AgentSystemInfo agent_system_info)
          Registers an agent system if its name is unique, and if its identity is not empty.
 void register_agent(org.omg.CfMAF.Name agent_name, java.lang.String agent_location, org.omg.CfMAF.AgentProfile agent_profile)
          Registers an agent if its name is unique, and if its identity is not empty.
 void register_place(java.lang.String place_name, java.lang.String place_location)
          Not implemented.
 void unregister_agent_system(org.omg.CfMAF.Name agent_system_name)
          Unregisters an agent system.
 void unregister_agent(org.omg.CfMAF.Name agent_name)
          Unregisters an agent.
 void unregister_place(java.lang.String place_name)
          Not implemented.
 

Constructor Detail

MAFFinder_impl

public MAFFinder_impl(Finder finder)
Method Detail

register_agent

public void register_agent(org.omg.CfMAF.Name agent_name,
                           java.lang.String agent_location,
                           org.omg.CfMAF.AgentProfile agent_profile)
                    throws org.omg.CfMAF.NameInvalid
Registers an agent if its name is unique, and if its identity is not empty.
Specified by:
register_agent in interface org.omg.CfMAF.MAFFinderOperations

register_agent_system

public void register_agent_system(org.omg.CfMAF.Name agent_system_name,
                                  java.lang.String agent_system_location,
                                  org.omg.CfMAF.AgentSystemInfo agent_system_info)
                           throws org.omg.CfMAF.NameInvalid
Registers an agent system if its name is unique, and if its identity is not empty.
Specified by:
register_agent_system in interface org.omg.CfMAF.MAFFinderOperations

register_place

public void register_place(java.lang.String place_name,
                           java.lang.String place_location)
                    throws org.omg.CfMAF.NameInvalid,
                           org.omg.CORBA.NO_IMPLEMENT
Not implemented.
Specified by:
register_place in interface org.omg.CfMAF.MAFFinderOperations

lookup_agent

public java.lang.String[] lookup_agent(org.omg.CfMAF.Name agent_name,
                                       org.omg.CfMAF.AgentProfile agent_profile)
                                throws org.omg.CfMAF.EntryNotFound
Lookup an agent from its name if the identity part is not empty, or lists all agents otherwise.
Specified by:
lookup_agent in interface org.omg.CfMAF.MAFFinderOperations
Returns:
location of agents

lookup_agent_system

public java.lang.String[] lookup_agent_system(org.omg.CfMAF.Name agent_system_name,
                                              org.omg.CfMAF.AgentSystemInfo agent_system_info)
                                       throws org.omg.CfMAF.EntryNotFound
Lookup an agent system from its name if the identity part is not empty, or lists all agent systems otherwise.
Specified by:
lookup_agent_system in interface org.omg.CfMAF.MAFFinderOperations
Returns:
location of agent systems

lookup_place

public java.lang.String[] lookup_place(java.lang.String place_name)
                                throws org.omg.CfMAF.EntryNotFound,
                                       org.omg.CORBA.NO_IMPLEMENT
Not implemented.
Specified by:
lookup_place in interface org.omg.CfMAF.MAFFinderOperations

unregister_agent

public void unregister_agent(org.omg.CfMAF.Name agent_name)
                      throws org.omg.CfMAF.EntryNotFound
Unregisters an agent.
Specified by:
unregister_agent in interface org.omg.CfMAF.MAFFinderOperations

unregister_agent_system

public void unregister_agent_system(org.omg.CfMAF.Name agent_system_name)
                             throws org.omg.CfMAF.EntryNotFound
Unregisters an agent system.
Specified by:
unregister_agent_system in interface org.omg.CfMAF.MAFFinderOperations

unregister_place

public void unregister_place(java.lang.String place_name)
                      throws org.omg.CfMAF.EntryNotFound,
                             org.omg.CORBA.NO_IMPLEMENT
Not implemented.
Specified by:
unregister_place in interface org.omg.CfMAF.MAFFinderOperations

lookup_agent_names

public org.omg.CfMAF.Name[] lookup_agent_names(org.omg.CfMAF.AgentProfile profile)
Specified by:
lookup_agent_names in interface org.objectweb.mobilitools.smi.idl.MAFFinderComplementOperations

get_agent_profile

public org.omg.CfMAF.AgentProfile get_agent_profile(org.omg.CfMAF.Name name)
                                             throws org.omg.CfMAF.AgentNotFound
Specified by:
get_agent_profile in interface org.objectweb.mobilitools.smi.idl.MAFFinderComplementOperations