Design
- From: "mojtaba_danai@xxxxxxxxx" <mojtaba_danai@xxxxxxxxx>
- Date: 29 Jun 2006 20:26:28 -0700
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?
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.
Regards
mojtaba
.
- Follow-Ups:
- Re: Design
- From: Nick Malik [Microsoft]
- Re: Design
- Prev by Date: Re: What databases have taught me
- Next by Date: Re: Designing issue
- Previous by thread: Re: Unpredictable programming
- Next by thread: Re: Design
- Index(es):
Relevant Pages
|