agentland.device.computer
Interface ComputerIDResolver

All Superinterfaces:
Agent, Good, Remote, Spy
All Known Implementing Classes:
ComputerIDResolverAgent

public interface ComputerIDResolver
extends Good


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 boolean addComputerToSociety(InetAddress computerAddress, String society)
           
 boolean addComputerToSociety(String computerName, String society)
           
 AgentID getComputerID(InetAddress computerAddress)
           
 AgentID getComputerID(String computerName)
           
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

getComputerID

public AgentID getComputerID(String computerName)
                      throws RemoteException

getComputerID

public AgentID getComputerID(InetAddress computerAddress)
                      throws RemoteException

addComputerToSociety

public boolean addComputerToSociety(String computerName,
                                    String society)
                             throws RemoteException

addComputerToSociety

public boolean addComputerToSociety(InetAddress computerAddress,
                                    String society)
                             throws RemoteException