Skip to content
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

Adds attribute support in Channel, Bootstrap [#78] #114

Merged
merged 1 commit into from
May 18, 2016
Merged

Conversation

nayato
Copy link
Member

@nayato nayato commented May 17, 2016

Motivation:
Increasing feature parity and dev convenience through addition of arbitrary data assignment on Channel and related API on Bootstrap classes.

Modifications

  • Introduced IAttributeMap, IAttribute<T>, IConstant and related impl artifacts.
  • Moved ChannelOption to common constant codebase
  • AbstractChannel now inherits from DefaultChannelMap
  • Reflection-less child optoins config in ServerBootstrap
  • Extra: minor closure allocation fixes, internal API fixes.

Result:
Attributes can be set on Channels, better code portability in Bootstrap.

@nayato
Copy link
Member Author

nayato commented May 17, 2016

@myagley, @mtuchkov, @mastermanu please take a look.

lock (head)
{
DefaultAttribute curr = head;
for (;;)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while true

@mtuchkov
Copy link
Contributor

LGTM

Motivation:
Increasing feature parity and dev convenience through addition of arbitrary data assignment on Channel and related API on Bootstrap classes.

Modifications
- Introduced IAttributeMap, IAttribute<T>, IConstant and related impl artifacts.
- Moved ChannelOption to common constant codebase
- AbstractChannel now inherits from DefaultChannelMap
- Reflection-less child optoins config in ServerBootstrap
- Extra: minor closure allocation fixes, internal API fixes.

Result:
Attributes can be set on Channels, better code portability in Bootstrap.
@nayato nayato merged commit 2931569 into Azure:dev May 18, 2016
@nayato nayato deleted the attrs branch May 18, 2016 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants