
How to use different API at run time...
have a question and need to feed in some suggestion....
I currently have 2 API for two different communication hardware,
both hardware are capable to login to a satellite service... and my main
aim is to design a software that can use the hardware API ... Both
software will do similar task ... they have similar function.... however
all the names are different.... the structure they use are different
too... i.e the message structure is different... which means that they
send the message in different ways... SO HOW DO I DESIGN the software
in this case....????
can i write a interface layer that is able to talk to these hardware
API???? Well, If i do so.... what if in the future... I wanted to add
another API from different company?
thanks...
--
**************************************************************************