-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ChannelCore.removeHandlers. (#408)
Motivation: If ChannelPipeline.removeHandlers is internal it is extremely difficult to implement a correct ChannelCore. For that reason, we should make it available as an extension on ChannelCore. This is a minor layering violation, but that's ok: ChannelCore and Channel are not actually intended to be separate objects in most cases, they are just separate for code clarity reasons. Modifications: Add ChannelCore.removeHandlers as a public method. Result: Easier to implement ChannelCore.
- Loading branch information
1 parent
cea8476
commit bad7c29
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters