-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
channelRead0 is a stupid name (SimpleChannelInboundHandler) #1590
Comments
I agree. Couldn't find a good alternative though. Now that the public API is not easy to change, we have to live with it. :-/ Sent from a mobile device. -----Original Message----- We had messageRecived, now we have channelRead0... the name seems REALLY internal and specific. Reply to this email directly or view it on GitHub: |
Sorry, cross posted across issues,surely messageReceived would be adequate? Maybe for 4.1? |
messageReceived or channelMessageRead both okay,the channelRead0 style is used in internal. |
|
@md-5 I don't like that too,for trustin,i don't think that many user has convert to netty 4 and treat netty4.0.0-final as final. |
As someone who has used Netty 4 in 2 production applications since Alpha1, I feel that the jump to Final was WAY too quick given the scope of the changes since ~CR8 (which I currently use) -> Final. I feel that there should have been more community involvement before it was given the OK. |
Also I vote for messageReceived so it matches everything else |
@md-5 as I can see,no Chinese coder will send the full request ,open issue or tracking it,even most mobile game company using netty,them like to use QQ group to exchange their experience,so I think,netty is really need more community involvement. First the channelInboundUpdated then MessageReceived in CR5 and now channelRead; |
@trustin & @normanmaurer -- In the previous CRs, was the object autoreleased after the messageReceived call? If the answer is yes and the behavior is the same, then I am OK with renaming this method back to messageReceived if that's what you decide to do. If the answer is no and the autorelease behavior is new, then I don't think we should reuse the old name with different behavior. |
@jpinner |
@md-5 @trustin @jpinner if we really want to get rid of channelRead0(..) we should do the following:
|
I completely agree with the title. I almost gave up the migration when I saw the name. |
I found the name a bit confusing as well. |
Instead of introducing another handler class with an obscure name, I'd like to just break the compatibility because we are working on 5.0 already. |
@trustin you are refer to my comment here ? |
Yeah. |
Sure we can do this… What you think would be a good one ? Am 02.11.2013 um 12:04 schrieb Trustin Lee notifications@github.com:
|
Ugh, I meant it isn't worth doing that at this stage. As you see I just renamed |
@trustin I see... works for me ;) |
thank you |
We had messageRecived, now we have channelRead0... the name seems REALLY internal and specific.
The text was updated successfully, but these errors were encountered: