javax.bluetooth
Class RemoteDevice

java.lang.Object
  extended by javax.bluetooth.RemoteDevice

public class RemoteDevice
extends Object


Constructor Summary
protected RemoteDevice(String address)
           
 
Method Summary
 boolean authenticate()
           
 boolean authorize(Connection conn)
           
 boolean encrypt(Connection conn, boolean on)
           
 boolean equals(Object obj)
           
 String getBluetoothAddress()
           
 String getFriendlyName(boolean alwaysAsk)
           
static RemoteDevice getRemoteDevice(Connection conn)
           
 int hashCode()
           
 boolean isAuthenticated()
           
 boolean isAuthorized(Connection conn)
           
 boolean isEncrypted()
           
 boolean isTrustedDevice()
           
static void setStaticInstance(RemoteDevice delegate)
           
protected  RemoteDevice static_getRemoteDevice(Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteDevice

protected RemoteDevice(String address)
Method Detail

setStaticInstance

public static void setStaticInstance(RemoteDevice delegate)

isTrustedDevice

public boolean isTrustedDevice()

getFriendlyName

public String getFriendlyName(boolean alwaysAsk)
                       throws IOException
Throws:
IOException

getBluetoothAddress

public String getBluetoothAddress()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getRemoteDevice

public static RemoteDevice getRemoteDevice(Connection conn)
                                    throws IOException
Throws:
IOException

static_getRemoteDevice

protected RemoteDevice static_getRemoteDevice(Connection conn)
                                       throws IOException
Throws:
IOException

authenticate

public boolean authenticate()
                     throws IOException
Throws:
IOException

authorize

public boolean authorize(Connection conn)
                  throws IOException
Throws:
IOException

encrypt

public boolean encrypt(Connection conn,
                       boolean on)
                throws IOException
Throws:
IOException

isAuthenticated

public boolean isAuthenticated()

isAuthorized

public boolean isAuthorized(Connection conn)
                     throws IOException
Throws:
IOException

isEncrypted

public boolean isEncrypted()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.