|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intel.bluetooth.EmulatorTestsHelper
public class EmulatorTestsHelper
| Constructor Summary | |
|---|---|
EmulatorTestsHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.Thread |
runNewEmulatorStack(java.lang.Runnable runnable)
Helper function to execute code using different Bluetooth address |
static void |
startInProcessServer()
Start air simulator server as in process server. |
static void |
stopInProcessServer()
Shutdown all running Stacks and air simulator server. |
static void |
useThreadLocalEmulator()
API that enables the use of Multiple Bluetooth Adapters in parallel in the same JVM. |
static void |
useThreadLocalEmulator(java.lang.String deviceID,
java.lang.String localAddress)
API that enables the use of Multiple Bluetooth Adapters in parallel in the same JVM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmulatorTestsHelper()
| Method Detail |
|---|
public static void startInProcessServer()
public static void stopInProcessServer()
public static void useThreadLocalEmulator()
throws javax.bluetooth.BluetoothStateException
javax.bluetooth.BluetoothStateException - if the Bluetooth system emulator could not be initializedBlueCoveImpl.useThreadLocalBluetoothStack()
public static void useThreadLocalEmulator(java.lang.String deviceID,
java.lang.String localAddress)
throws javax.bluetooth.BluetoothStateException
deviceID - select bluetooth adapter by its system ID, can be
nulllocalAddress - select bluetooth adapter by its Address, can be
null
javax.bluetooth.BluetoothStateException - if the Bluetooth system emulator could not be initializedBlueCoveImpl.useThreadLocalBluetoothStack()
public static java.lang.Thread runNewEmulatorStack(java.lang.Runnable runnable)
throws javax.bluetooth.BluetoothStateException
runnable - to be executed using another stack
javax.bluetooth.BluetoothStateException - if the Bluetooth system emulator could not be initialized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||