Class | Qpid::Proton::Handler::EndpointStateHandler |
In: |
lib/handler/endpoint_state_handler.rb
|
Parent: | Qpid::Proton::BaseHandler |
A utility that exposes endpoint events; i.e., the open/close of a link, session or connection, in a more intuitive manner.
A XXX_opened method will be called when both local and remote peers have opened the link, session or connection. This can be used to confirm a locally initiated action for example.
A XXX_opening method will be called when the remote peer has requested an open that was not initiated locally. By default this will simply open locally, which then trigtgers the XXX_opened called.
The same applies to close.