tATAmI-Project / tATAmI-PC

towards Agent Technology for Ambient Intelligence
http://tatami-project.github.com/tATAmI-PC
GNU Lesser General Public License v3.0
2 stars 0 forks source link

The agent should be seen by components as an interface #37

Open andreiolaru-ro opened 9 years ago

andreiolaru-ro commented 9 years ago

If an agent is not Composite, but needs a messaging component instance to communicate, the Component cannot receive a reference to the agent because the agent is not an instance of CompositeAgent.

Components should receive a reference to an implementation of an interface that specifies the necessary methods.

If the method set is too large, a two-level approach may be used.