OOPS design ideas for application [on hold]
My current knowledge of design patterns is little rusty so I am asking for
advice here.
I have many types of devices (which are on cellular network) which report
location upon receiving a valid command.
The main points are
Many devices from many maufactures.
Each device has its own command set.
Even same devices with different firmwares have slight variation
in commands (that are sent to them via SMS or TCP/IP).
Broadly speaking, these devices support basic functions.
How do I design a command library with these things in mind such that I
can provide device parameters and get a specific basic command which most
devices support?
I am currently using factory design pattern and I feel that is not enough.
I would appreciate some insights on this issue.
No comments:
Post a Comment