Open kfitzgerald opened 2 years ago
Perhaps:
Agent
interface can get an onEvent
method that can be used to receive event notifications from the coreAgentManager
can get a notifyEvent
method that invokes the onEvent
method on all registered agentsNot sure whether events should be explicitly defined by individual methods or whether a simple Enum or String name would be sufficient.
Aurora core should notify agents of events, such as when points or regions are changed (added/removed).
For example, a holographic display agent managing HDs at every point, should be notified when new points are added so it can also add a new HD, as well as when points are removed so it can cleanup obsolete HDs.