I guess I could try using Java.lang.reflect.Proxy to wrap the class and
supplement handlerRemoved.

Should work ok, I think.

Rogan
On Wed, 21 Mar 2018 at 10:59 'Norman Maurer' via Netty discussions <
[email protected]> wrote:

> No there is nothing like that.
>
> Bye
> Norman
>
>
> On 20. Mar 2018, at 21:53, Rogan Dawes <[email protected]> wrote:
>
> Hi folks,
>
> I'm trying to monitor changes to the pipeline, and wondering if there is
> any way to be notified when a handler is removed from a pipeline?
>
> By that I mean, independently of the specific handler's
> handlerRemoved(ctx) method call. I'd like to be able to tell when a
> particular handler is removed, without having to extend it and override
> that method on every single handler.
>
> From what I can see, the only way to do it at the moment is by using
> Aspect-Oriented programming, and decorating each handler that is added (a
> slight difference from manually extending each handler).
>
> Am I missing something?
>
> Thanks!
>
> Rogan
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/netty/0c580f34-35bf-4d69-ad80-f0ad0d7e1605%40googlegroups.com
> <https://groups.google.com/d/msgid/netty/0c580f34-35bf-4d69-ad80-f0ad0d7e1605%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/netty/3CA9AB84-DC67-4BAB-8392-AC8143F79440%40googlemail.com
> <https://groups.google.com/d/msgid/netty/3CA9AB84-DC67-4BAB-8392-AC8143F79440%40googlemail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/CAOYdKdg7XkoCXdF-9kN%3D1fdbNz_8kPA%2B%2BAwo_CEqYsyF%2BHeu%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to