flexiblepower / powermatcher

PowerMatcher - The Java implementation of the PowerMatcher, including the API, the core, a couple of examples, a remote implementation using websockets and a visualisation of the configuration.
http://www.powermatcher.org
Apache License 2.0
43 stars 25 forks source link

Concentrator does not send OutgoingPriceUpdateEvent and IncomingBidEvent #187

Closed wilcowijbrandi closed 9 years ago

wilcowijbrandi commented 9 years ago

The Concentrator internally uses a BaseMatcherEndpoint (called matcherPart), which is responsible for publishing the events. However, the addObserver and removeObserver never get called. The Concentrator should overwrite these methods and make sure that both the BaseMatcherEndpoint and BaseAgentEndpoint parts get AgentObservers.