itm / wsn-device-drivers

Drivers for Wireless Sensor Network Devices
Other
6 stars 4 forks source link

Make Factory to create Device instances #7

Closed danbim closed 13 years ago

danbim commented 13 years ago

The factory receives two parameters type and port of either an enum type or a String which can be mapped to the enum type and creates the appropriate instance.