Crea sito


org.zu.ardulink.connection.bluetooth
Class ArdulinkDiscoveryListener

java.lang.Object
  extended by org.zu.ardulink.connection.bluetooth.ArdulinkDiscoveryListener
All Implemented Interfaces:
javax.bluetooth.DiscoveryListener

public class ArdulinkDiscoveryListener
extends Object
implements javax.bluetooth.DiscoveryListener

Ardulink - return to homepage

v0.6.1 Magnum PI

Author:
Luciano Zu project Ardulink http://www.ardulink.org/


Field Summary
 
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
 
Constructor Summary
ArdulinkDiscoveryListener(BluetoothConnection bluetoothConnection, Object lock)
           
 
Method Summary
 void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice, javax.bluetooth.DeviceClass deviceClass)
           
 List<javax.bluetooth.RemoteDevice> getDevices()
           
 Map<javax.bluetooth.RemoteDevice,javax.bluetooth.ServiceRecord[]> getServices()
           
 void inquiryCompleted(int arg0)
           
 void reset()
          Clear all resources used by this listener.
 void servicesDiscovered(int transID, javax.bluetooth.ServiceRecord[] serviceRecords)
           
 void serviceSearchCompleted(int arg0, int arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArdulinkDiscoveryListener

public ArdulinkDiscoveryListener(BluetoothConnection bluetoothConnection,
                                 Object lock)
Method Detail

deviceDiscovered

public void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice,
                             javax.bluetooth.DeviceClass deviceClass)
Specified by:
deviceDiscovered in interface javax.bluetooth.DiscoveryListener

inquiryCompleted

public void inquiryCompleted(int arg0)
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 transID,
                               javax.bluetooth.ServiceRecord[] serviceRecords)
Specified by:
servicesDiscovered in interface javax.bluetooth.DiscoveryListener

getDevices

public List<javax.bluetooth.RemoteDevice> getDevices()

getServices

public Map<javax.bluetooth.RemoteDevice,javax.bluetooth.ServiceRecord[]> getServices()

reset

public void reset()
Clear all resources used by this listener.



Copyright © 2015. All rights reserved.