Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Find betterEndPoint abstraction for gateway #45

Closed
lt72 opened this issue Feb 18, 2015 · 2 comments
Closed

Find betterEndPoint abstraction for gateway #45

lt72 opened this issue Feb 18, 2015 · 2 comments

Comments

@lt72
Copy link
Contributor

lt72 commented Feb 18, 2015

Current endpoint abstraction for gateway

    public bool SetEndpoint(ISensorEndpoint endpoint)

does not work very well across devices

find better abstraction or cut!

@dinarisio
Copy link
Contributor

To fix it properly I need to understand what's wrong with current abstraction.
I comed up with it for realising the idea that just address of data source is needed, so we should not link endpoints with Data Intake modules and on other hand - to create more than one instance if needed. But, there are Data Intakes such as SerialPort that does not need any connection details, so they accept only empty endpoint data.
Bad case I see is when another Data Intake as python script comes to chain, so we need to somehow send endpoint data to it.

@dinarisio
Copy link
Contributor

Lorenzo, could you please comment? May I leave this abstraction?

@lt72 lt72 closed this as completed Mar 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants