codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

Connection aware handlers - more messaging less request-reply #191

Closed codingchili closed 6 years ago

codingchili commented 6 years ago

Add a new interface, ListenerAware or add default methods to CoreHandler

Clustered session management could be set up in these methods.

Other changes

Facilitates the following

58

190

Delimitations

codingchili commented 6 years ago

Requests now provides a Connection object, on which handlers can be added for the onClose event. Transports that does not support persistent connections may throw an exception, or use the volatile request context.

Uses of the UDP transport are encouraged to implement timeouts.