ethereum / ethereumj

DEPRECATED! Java implementation of the Ethereum yellowpaper. For JSON-RPC and other client features check Ethereum Harmony
GNU Lesser General Public License v3.0
2.18k stars 1.1k forks source link

Improve EthereumListener #1152

Open eugene-shevchenko opened 6 years ago

eugene-shevchenko commented 6 years ago

This PR covers issue #1138.

Adds Publisher abstraction that implements pub/sub model to deliver events from publisher to subscriber. Replaces CompositeEthereumListener / EthereumListenerAdaptor / EthereumListener using with new event publishing mechanism. Keeps backward compatibility with old event handling model.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.07%) to 56.169% when pulling 698b59a267f560a1853800239410cb67bb64c3e0 on feature/1138-event-listener-improve into 5c808c1ddfd743e668386d94ec68b6ba3f7713dd on develop.