keenlabs / KeenClient-Java

Official Java client for the Keen IO API. Build analytics features directly into your Java apps.
https://keen.io/docs
MIT License
74 stars 43 forks source link

Extension of KeenCallback interface to support callback execution with detailed information #36

Closed mikereinhold closed 9 years ago

mikereinhold commented 9 years ago

Added an extension to the KeenCallback interface to support callbacks which require additional information in order to perform the necessary activity.

This implementation assumes that the both callback methods should be called for each event (if the callback is an instance of the KeenDetailedCallback interface). This implementation calls the KeenCallback callback method first, then the KeenDetailedCallback callback method afterward.

Closes issue #32. Replaces original pull request #35 and is based off 2.1.0.

mikereinhold commented 9 years ago

Replacement PR for #35 since that one was based off master instead of 2.1.0