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.
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.