Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

eu.genesys.kernel.agent
Interface AgentConnector  view AgentConnector download AgentConnector.java

All Superinterfaces:
eu.genesys.kernel.Connector
All Known Subinterfaces:
ConsumerConnector, ProducerConnector
All Known Implementing Classes:
AbstractAgentConnector, ConsumerConnectorImpl, ProducerConnectorImpl

public interface AgentConnector
extends eu.genesys.kernel.Connector

Agent Connector interface.
Agent Connector incorporates functionality which is common for each GeneSyS agent.

Should be used in conjunction with SimpleAgent.

Version:
$Revision: 1.6 $$Date: 2003/10/27 13:02:41 $

Method Summary
 eu.genesys.kernel.AgentInformation getAgentInformation(eu.genesys.kernel.ComponentId id)
          Get full agent information by it's id.
 eu.genesys.kernel.ComponentId register(eu.genesys.kernel.AgentInformation toRegister)
          Register an agent with the core.
 void unregister(eu.genesys.kernel.ComponentId toUnregister)
          Unegisters an agent and remove related information from the core.
 void updateRegistration(eu.genesys.kernel.AgentInformation toUpdate)
          Updates registration information.
 
Methods inherited from interface eu.genesys.kernel.Connector
run
 

Method Detail

register

public eu.genesys.kernel.ComponentId register(eu.genesys.kernel.AgentInformation toRegister)
                                       throws eu.genesys.kernel.GenesysException
Register an agent with the core.


unregister

public void unregister(eu.genesys.kernel.ComponentId toUnregister)
                throws eu.genesys.kernel.GenesysException
Unegisters an agent and remove related information from the core.


updateRegistration

public void updateRegistration(eu.genesys.kernel.AgentInformation toUpdate)
                        throws eu.genesys.kernel.GenesysException
Updates registration information. The assigned component id will remain the same.


getAgentInformation

public eu.genesys.kernel.AgentInformation getAgentInformation(eu.genesys.kernel.ComponentId id)
                                                       throws eu.genesys.kernel.GenesysException
Get full agent information by it's id. *