Adopting Generics into Netty API
Tuomas Kiviaho
tuomas.kiviaho at iki.fi
Tue Nov 10 04:12:21 EST 2009
Trustin Lee wrote:
>
> What I can think of right now is to eliminate explicit down-cast in
> the handler by adding type parameter for received message type.
>
+1 for this.
* * *
What I'd like additionally is easier pipeline addition/removal of handlers.
Currently in using instanceof pattern for encoding while having all possible
encoders pre-registered in the pipeline so generics would not help me much
right now. But that's worth another issue.
--
Tuomas
--
View this message in context: http://n2.nabble.com/Adopting-Generics-into-Netty-API-tp3962642p3978540.html
Sent from the Netty Developer Group mailing list archive at Nabble.com.
More information about the netty-dev
mailing list