| Package | Description |
|---|---|
| proton | Core user model and utility classes |
| proton.event | Event infrastructure |
| proton.codec | Data encode and decode |
| proton.types | Data types not supplied by the host language |
| proton.reactors | Library of tools for IO integration and event dispatch |
| proton.handlers | Library of tools for event handling |
| proton.util | Utility code |
| proton.messenger | A home for Messenger |
The 'reactors' and 'handlers' packages are expected to contain more classes over time as the number of IO integrations and event-handling behaviors grow. By contrast, the other packages are expected to mostly stop growing once the necessary functionality is in place.
The 'event' and 'codec' packages are expected to see less mainstream usage and are therefore stowed a little further away.
The base Proton exception goes in 'proton', but more specific exception types would reside in the various subpackages above.
There are some classes we intend to deprecate or remove: Connector, Listener, Driver.
If reactors end up using multiple related classes, dedicated
subpackages may be used here.
This may grow to have subpackages.
These are simple extensions to the language-provided standard library.