Designing issue, help wanted
- From: "mojtaba" <mojtaba_danai@xxxxxxxxx>
- Date: 29 Jun 2006 23:29:25 -0700
Hi
I am trying to make a adapter program.
-There can be different kind of adapters, which each can take data from
one source.
-It should be possible to plugin the new adapter for a new source of
data.
-The adapters all make a common structure to give it to the connected
clients. (I have implemented this part).
-Each adapter uses a specific API to collect data from data source.
How the design of the adapter class should look like? Which design
pattern?
One of the adapters inherits already from couple of data source API
classes.
The question is how to make a design so I can add/plugin the third
adapter, using completely third API to collect data, easily to the
system. The adapters all make the common structure data for all
connected clients.
Thanks.
Regards
mojtaba
Reply »
From: mojtaba_danai@xxxxxxxxx - view profile
Date: Fri, Jun 30 2006 12:10 pm
Email: "mojtaba_da...@xxxxxxxxx" <mojtaba_da...@xxxxxxxxx>
Groups: comp.lang.c++
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse | Find messages by this author
Hi again
Just wanted to add:
There should probably be a superclass for all adapters, right? But they
use different APIs, as I said before, and one of the adapters inherits
already from couple of data source API classes.
Thanks.
.
- Follow-Ups:
- Re: Designing issue, help wanted
- From: Nick Malik [Microsoft]
- Re: Designing issue, help wanted
- Prev by Date: Re: Design Question may or may not involve patterns
- Next by Date: Re: Designing issue, help wanted
- Previous by thread: Design Question may or may not involve patterns
- Next by thread: Re: Designing issue, help wanted
- Index(es):
Relevant Pages
|