fipaos.mts.rmi.internal.ns
Interface RMIAgentNamingService

All Known Implementing Classes:
RMIAgentNamingServiceImpl, RMIAgentNamingServiceImpl_Stub

public interface RMIAgentNamingService
extends Remote

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




Method Summary
 voidbind(String name, MTS server)
          Attempts to (re)bind the given name against the given
FIPA_Agent_97 RMI "server"
 MTSlookup(String name)
          Attempts to lookup the given AgentGUID & return the corresponding
MTS RMI "server"
 voidunbind(String name)
          Attempts to unbind the given name from its
MTS RMI "server"

Method Detail

bind

public void bind(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

lookup

public MTS lookup(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

unbind

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