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

Protocol client abstraction #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marzi333
Copy link

Protocol Client Abstraction Layer:
Separated the handling of requests and responses from within the interaction affordance operations in the ConsumedThing to be handled instead by ProtocolClients.
Now, each Consumer can have multiple protocol clients (eg. HTTP, Coap..etc) so long as the client implements the IProtocolClient interface. After consuming the ThingDescription, the ConsumedThing fetches the protocol client when reading/writing resources in order to send GET/PUT/POST requests.

…quests and getting responses from the interaction affordances implemented by the ConsumedThing
Copy link
Member

@egekorkan egekorkan left a comment

Choose a reason for hiding this comment

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

just saw some quick improvements

@@ -107,3 +107,5 @@ For a more detailed step-by-step explanation and documentation, feel free to vis
- [ ] MQTT Consumer

... more in the future

<!-- first commit -->
Copy link
Member

Choose a reason for hiding this comment

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

This comment should be removed and how new bindings can be implemented should be explained

@@ -1,10 +1,33 @@
// See https://aka.ms/new-console-template for more information
// See https://aka.ms/new-console-template for more informatio5n
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// See https://aka.ms/new-console-template for more informatio5n
// See https://aka.ms/new-console-template for more information

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.

2 participants