
Public Member Functions | |
| void | initialiseStack () |
Static Public Member Functions | |
| static Bluetooth | getInstance () |
Protected Member Functions | |
| Bluetooth () | |
Private Attributes | |
| LocalDevice | localDevice |
| final UUID | SERVICE_UUID |
| final String | URL |
| GUI | g |
Static Private Attributes | |
| static Bluetooth | instance |
Bluetooth class instantiates the Bluetooth stack and calls BluetoothConnectionListener to handle incoming connections.
Definition at line 11 of file Bluetooth.java.
|
|
Instantiates this class by getting the instance of the
Definition at line 47 of file Bluetooth.java. References g, GUI.getInstance(), and initialiseStack(). Referenced by getInstance(). Here is the call graph for this function: ![]() |
|
|
Enforces the Singleton pattern to ensure only a single instance of this class exists. Returns the instance of this class if it is instantiated, otherwise it returns a new instantiation of this class.
Definition at line 30 of file Bluetooth.java. References Bluetooth(), and instance. Here is the call graph for this function: ![]() |
|
|
Instantiates the Bluetooth stack and makes the server discoverable by other Bluetooth devices. If the stack initialises without error, the
Definition at line 63 of file Bluetooth.java. References g, localDevice, GUI.traceMessage(), and GUI.traceProgressMessage(). Referenced by Bluetooth(). Here is the call graph for this function: ![]() |
|
|
Definition at line 20 of file Bluetooth.java. Referenced by Bluetooth(), and initialiseStack(). |
|
|
Definition at line 15 of file Bluetooth.java. Referenced by getInstance(). |
|
|
Definition at line 14 of file Bluetooth.java. Referenced by initialiseStack(). |
|
|
Initial value: new UUID ("00112233445566778899AABBCCDDEEFF", false) Definition at line 16 of file Bluetooth.java. |
|
|
Initial value: "btspp://localhost:" + SERVICE_UUID.toString() + ";name=UniVoteServer" Definition at line 18 of file Bluetooth.java. |
1.4.6