© 2006-2007 ETH Zurich

org.ximtec.igesture.tool.view.devicemanager.discoveryservice
Class BluetoothDeviceConverter

java.lang.Object
  extended by org.ximtec.igesture.tool.view.devicemanager.discoveryservice.BluetoothDeviceConverter

public class BluetoothDeviceConverter
extends Object

This class converts a found Bluetooth device to a AbstractGestureDevice

Author:
Bjorn Puype, bpuype@gmail.com

Constructor Summary
BluetoothDeviceConverter()
           
 
Method Summary
 AbstractGestureDevice<?,?> createDevice(javax.bluetooth.RemoteDevice device, javax.bluetooth.DeviceClass clazz)
          Create a AbstractGestureDevice from a found BlueTooth device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothDeviceConverter

public BluetoothDeviceConverter()
Method Detail

createDevice

public AbstractGestureDevice<?,?> createDevice(javax.bluetooth.RemoteDevice device,
                                               javax.bluetooth.DeviceClass clazz)
Create a AbstractGestureDevice from a found BlueTooth device.

Parameters:
device - The found device.
clazz - The device class (+ numbers)
Returns:
The created device.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.