org.wiigee.control
Class WiimoteDeviceDiscovery
java.lang.Object
org.wiigee.control.WiimoteDeviceDiscovery
- All Implemented Interfaces:
- javax.bluetooth.DiscoveryListener
public class WiimoteDeviceDiscovery
- extends java.lang.Object
- implements javax.bluetooth.DiscoveryListener
| Fields inherited from interface javax.bluetooth.DiscoveryListener |
INQUIRY_COMPLETED, INQUIRY_ERROR, INQUIRY_TERMINATED, SERVICE_SEARCH_COMPLETED, SERVICE_SEARCH_DEVICE_NOT_REACHABLE, SERVICE_SEARCH_ERROR, SERVICE_SEARCH_NO_RECORDS, SERVICE_SEARCH_TERMINATED |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WiimoteDeviceDiscovery
public WiimoteDeviceDiscovery(java.lang.Object lock)
deviceDiscovered
public void deviceDiscovered(javax.bluetooth.RemoteDevice newdevice,
javax.bluetooth.DeviceClass devclass)
- Specified by:
deviceDiscovered in interface javax.bluetooth.DiscoveryListener
inquiryCompleted
public void inquiryCompleted(int discType)
- Specified by:
inquiryCompleted in interface javax.bluetooth.DiscoveryListener
serviceSearchCompleted
public void serviceSearchCompleted(int arg0,
int arg1)
- Specified by:
serviceSearchCompleted in interface javax.bluetooth.DiscoveryListener
servicesDiscovered
public void servicesDiscovered(int arg0,
javax.bluetooth.ServiceRecord[] arg1)
- Specified by:
servicesDiscovered in interface javax.bluetooth.DiscoveryListener
isInquirying
public boolean isInquirying()
getDiscoveredWiimotes
public java.util.Vector<Wiimote> getDiscoveredWiimotes()
throws java.io.IOException
- Throws:
java.io.IOException