| java.lang.Object com.sun.kvem.jsr082.bluetooth.DiscoveryAgentImpl
DiscoveryAgentImpl | final public class DiscoveryAgentImpl (Code) | | The DiscoveryAgentImpl class is a DiscoveryAgent
API class implementation which does not extend this API class.
|
Inner Class :class Completed implements Runnable | |
addCachedDevice | public void addCachedDevice(String addr)(Code) | | Adds address of remote device found during inquiry request to internal
inquiry cache.
The method does nothing if the RemoteDevice is already in the cache.
|
cancelServiceSearch | public boolean cancelServiceSearch(int transID)(Code) | | |
getInstance | public static synchronized DiscoveryAgentImpl getInstance()(Code) | | Returns the instance of this singleton constructing it if needed.
the only instance of DiscoveryAgentImpl . |
getRemoteDevice | public RemoteDeviceImpl getRemoteDevice(String addr)(Code) | | Porting interface: this method is used by the device specific
implementation to create the RemoteDevice object by address.
Also, this method puts the new remote devices into cache of
known devices.
Parameters: addr - address of remote device to be created new RemoteDeviceImpl instance if device with addressgiven is unknown, the known one otherwise. |
inquiryCompleted | public void inquiryCompleted(int discType)(Code) | | Porting interface: this method is used by the device specific
implementation to notify this class, that the current inquire
has been completed.
Parameters: discType - type of completion:DiscoveryListener.INQUIRY_COMPLETED , orDiscoveryListener.INQUIRY_TERMINATED , orDiscoveryListener.INQUIRY_ERROR |
|
|