fipaos.mts.rmi.internal.ns
Interface RMIAgentNamingService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RMIAgentNamingServiceImpl, RMIAgentNamingServiceImpl_Stub

public interface RMIAgentNamingService
extends java.rmi.Remote

This is the RMI interface which defines what methods a RMI NS for Agents exposes


Method Summary
 void bind(java.lang.String name, MTS server)
          Attempts to (re)bind the given name against the given FIPA_Agent_97 RMI "server"
 MTS lookup(java.lang.String name)
          Attempts to lookup the given AgentGUID & return the corresponding MTS RMI "server"
 void unbind(java.lang.String name)
          Attempts to unbind the given name from its MTS RMI "server"
 

Method Detail

lookup

public MTS lookup(java.lang.String name)
           throws java.rmi.RemoteException
Attempts to lookup the given AgentGUID & return the corresponding MTS RMI "server"
Parameters:
name - Name to resolve
Returns:
MTS object registered against the name, or null

bind

public void bind(java.lang.String name,
                 MTS server)
          throws java.rmi.RemoteException
Attempts to (re)bind the given name against the given FIPA_Agent_97 RMI "server"
Parameters:
name - Name to bind against
server - FIPA_Agent_97 to bind

unbind

public void unbind(java.lang.String name)
            throws java.rmi.RemoteException
Attempts to unbind the given name from its MTS RMI "server"
Parameters:
name - Name to unbind