net.hivecell.hive.agent.cell
Interface CellControlAgent

All Known Implementing Classes:
CellControlAgentImpl

public interface CellControlAgent
extends java.rmi.Remote, CellAgent

The agent which will provide the remote access to the CellControlShadow. If any security is to be done to "protect" the cell, it needs to be done here.


Method Summary
 boolean connectAgents(Agent from, Agent to)
           
 Agent createAgent(java.lang.String agentName)
           
 Agent createAgent(java.lang.String agentName, Description description)
           
 void disconnectAgentAll(Agent agent)
           
 void disconnectAgents(Agent from, Agent to)
           
 void killAgent(Agent agent)
           
 Agent moveAgent(Agent agent, CellAddress serverAddress)
           
 void shutDownCell()
           
 

Method Detail

shutDownCell

public void shutDownCell()
                  throws java.rmi.RemoteException

createAgent

public Agent createAgent(java.lang.String agentName)
                  throws java.lang.ClassNotFoundException,
                         java.lang.InstantiationException,
                         java.rmi.RemoteException

createAgent

public Agent createAgent(java.lang.String agentName,
                         Description description)
                  throws java.lang.ClassNotFoundException,
                         java.lang.InstantiationException,
                         java.rmi.RemoteException

killAgent

public void killAgent(Agent agent)
               throws java.rmi.RemoteException

moveAgent

public Agent moveAgent(Agent agent,
                       CellAddress serverAddress)
                throws java.rmi.RemoteException,
                       AgentDeliveryException

connectAgents

public boolean connectAgents(Agent from,
                             Agent to)
                      throws java.rmi.RemoteException

disconnectAgentAll

public void disconnectAgentAll(Agent agent)
                        throws java.rmi.RemoteException

disconnectAgents

public void disconnectAgents(Agent from,
                             Agent to)
                      throws java.rmi.RemoteException