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

groups similar methods/classes #50

Open
ajoaoff opened this issue Jun 28, 2021 · 0 comments
Open

groups similar methods/classes #50

ajoaoff opened this issue Jun 28, 2021 · 0 comments

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 28, 2021

Original issue opened by @erickvermot at kytos#315.

Group similarities as in HWAdress and DPID.
The have very similar pack functions for example.
Maybe should they be derived from a same base class ("colon separated hex
values...")
Same with echo request, echo reply, and hello... and many others..

Maybe implement using Mixin classes, as proposed by Diego. I agree;

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

No branches or pull requests

2 participants