com.intel.bluetooth
Class BluetoothConnectionAccessAdapter

java.lang.Object
  extended by com.intel.bluetooth.BluetoothConnectionAccessAdapter
All Implemented Interfaces:
BluetoothConnectionAccess

public abstract class BluetoothConnectionAccessAdapter
extends Object
implements BluetoothConnectionAccess

Helper class to create connection Proxy classes.

Your application should not use this class directly.


Constructor Summary
BluetoothConnectionAccessAdapter()
           
 
Method Summary
 boolean encrypt(long address, boolean on)
           
 BluetoothStack getBluetoothStack()
           
protected abstract  BluetoothConnectionAccess getImpl()
           
 long getRemoteAddress()
           
 RemoteDevice getRemoteDevice()
           
 int getSecurityOpt()
           
 boolean isClosed()
           
 void markAuthenticated()
           
 void setRemoteDevice(RemoteDevice remoteDevice)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothConnectionAccessAdapter

public BluetoothConnectionAccessAdapter()
Method Detail

getImpl

protected abstract BluetoothConnectionAccess getImpl()

getRemoteAddress

public long getRemoteAddress()
                      throws IOException
Specified by:
getRemoteAddress in interface BluetoothConnectionAccess
Throws:
IOException

getRemoteDevice

public RemoteDevice getRemoteDevice()
Specified by:
getRemoteDevice in interface BluetoothConnectionAccess

isClosed

public boolean isClosed()
Specified by:
isClosed in interface BluetoothConnectionAccess

shutdown

public void shutdown()
              throws IOException
Specified by:
shutdown in interface BluetoothConnectionAccess
Throws:
IOException

markAuthenticated

public void markAuthenticated()
Specified by:
markAuthenticated in interface BluetoothConnectionAccess

getSecurityOpt

public int getSecurityOpt()
Specified by:
getSecurityOpt in interface BluetoothConnectionAccess

encrypt

public boolean encrypt(long address,
                       boolean on)
                throws IOException
Specified by:
encrypt in interface BluetoothConnectionAccess
Throws:
IOException
See Also:
RemoteDevice.encrypt(javax.microedition.io.Connection , boolean)

setRemoteDevice

public void setRemoteDevice(RemoteDevice remoteDevice)
Specified by:
setRemoteDevice in interface BluetoothConnectionAccess

getBluetoothStack

public BluetoothStack getBluetoothStack()
Specified by:
getBluetoothStack in interface BluetoothConnectionAccess


JSR-82 Javadocs Apache License, Version 2.0 Copyright © 2001-2008 Motorola, Inc. ALL RIGHTS RESERVED.
BlueCove Javadocs
Apache License, Version 2.0 Copyright © 2004-2008 BlueCove Team.