B C D G I N O P R S V 

B

BluetoothClient - Class in ch.aplu.bluetooth
Class to create a client that connects to a server via Bluetooth.
BluetoothClient(String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given server's Bluetooth name that will connect to Bluetooth channel 1.
BluetoothClient(String, int) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given server's Bluetooth name that will connect using the given given channel.
BluetoothClient(String, String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given server's Bluetooth name that will connect using the given service name.
BluetoothClient(long) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance with given Bluetooth address that will connect to channel 1.
BluetoothClient(long, int) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance with given Bluetooth address that will connect using the given given channel.
BluetoothClient(RemoteDevice, String) - Constructor for class ch.aplu.bluetooth.BluetoothClient
Creates a BluetoothClient instance for the given remote device that will connect using the given service name.
BluetoothFinder - Class in ch.aplu.bluetooth
Class to perform an inquiry for Bluetooth devices and their services.
BluetoothFinder(String, int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Same as Bluetoothfinder(int[] uuids, boolean isVerbose), but search only for the given deviceName.
BluetoothFinder(int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Initiates extensive device and service inquiry with given UUIP integer values.
BluetoothFinder(int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Initiates device and service search with given UUIP integer values.
BluetoothFinder(String, int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Same as BluetoothFinder(int[] uuids, int[] attrSet, boolean isVerbose), but search only for the given deviceName.
BluetoothFinder(RemoteDevice, int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Same as BluetoothFinder(RemoteDevice remoteDevice, int[] uuids, int[] attrSet, boolean isVerbose, BluetoothResponder responder), but only the following service attributes are retrieved:
ServiceRecordHandle (id: 0x0000)
ServiceClassIDlist (id: 0x0001)
ServiceRecordState (id: 0x0002)
ServiceID (id: 0x0003)
ProtocolDescriptorList (id: 0x0004)
Service Name (id: 0x0100)
Response will trigger the callback methods declared in the given BluetoothResponder.
BluetoothFinder(RemoteDevice, int[], int[], boolean, BluetoothResponder) - Constructor for class ch.aplu.bluetooth.BluetoothFinder
Initiates service inquiry (no prior device inquiry) from given remote device with given UUIP integer values.
BluetoothPeer - Class in ch.aplu.bluetooth
Class that implements a Bluetooth peer-to-peer communication based on the client-server model.
BluetoothPeer(String, String, BtPeerListener, boolean) - Constructor for class ch.aplu.bluetooth.BluetoothPeer
Creates a BluetoothPeer instance that tries to connect to the given node using the given service name.
BluetoothResponder - Interface in ch.aplu.bluetooth
Callback declarations for Bluetooth device and service search.
BluetoothServer - Class in ch.aplu.bluetooth
Class that creates a Bluetooth server thread.
BluetoothServer(String, BtListener, boolean) - Constructor for class ch.aplu.bluetooth.BluetoothServer
Creates a server instance with given serviceName.
BluetoothServer(String, BtListener) - Constructor for class ch.aplu.bluetooth.BluetoothServer
Same as BluetoothServer(String serviceName, BtListener listener, false) (no verbose).
BtDeviceInfo - Class in ch.aplu.bluetooth
Class to pack device information.
BtDeviceInfo(RemoteDevice, DeviceClass) - Constructor for class ch.aplu.bluetooth.BtDeviceInfo
Creates a BtDeviceInfo instance.
BtListener - Interface in ch.aplu.bluetooth
Callback declaration when running a Bluetooth server.
BtPeerListener - Interface in ch.aplu.bluetooth
Declarations of notification methods called from the class BluetoothPeer.
BtServiceInfo - Class in ch.aplu.bluetooth
Class to pack service information.
BtServiceInfo(RemoteDevice, ServiceRecord) - Constructor for class ch.aplu.bluetooth.BtServiceInfo
Creates a BtServiceInfo instance.

C

cancel() - Method in class ch.aplu.bluetooth.BluetoothServer
Cancel the blocking acceptAndOpen().
ch.aplu.bluetooth - package ch.aplu.bluetooth
Package for Bluetooth communication with the JSR-82 standard.
close() - Method in class ch.aplu.bluetooth.BluetoothServer
Closes the opened input and output stream.
close() - Static method in class ch.aplu.bluetooth.VerboseWriter
Closes the log file.
connect(int) - Method in class ch.aplu.bluetooth.BluetoothClient
Attemps to connect the client to the host with given timeout.
connect() - Method in class ch.aplu.bluetooth.BluetoothClient
Attemps to connect the client to the host.

D

deviceDiscovered(RemoteDevice, DeviceClass) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
disconnect() - Method in class ch.aplu.bluetooth.BluetoothClient
Closes the opened input and output stream and releases the Bluetooth connection.

G

getBtAddress() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the Bluetooth address (hex).
getBtAddressLong() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the Bluetooth address (long).
getDetectedServerChannel() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the channel number returned by the server after a service search.
getDeviceClass() - Method in class ch.aplu.bluetooth.BtDeviceInfo
Returns the DeviceClass part of BtDeviceInfo.
getDeviceName(RemoteDevice) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns device name from given device using RemoteDevice.getFriendlyName().
getDiscoveryAgent() - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns the local discovery agent.
getInputStream() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the InputStream reference of the Bluetooth connection.
getLocalBluetoothAddress() - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns the local Bluetooth address, empty if no Bluetooth available.
getLocalBluetoothName() - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns the local Bluetooth friendly name, empty if no Bluetooth available.
getLocalName() - Method in class ch.aplu.bluetooth.BluetoothServer
Returns the Bluetooth friendly name of the local device.
getOutputStream() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the OutputStream reference of the Bluetooth connection.
getRemoteDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Creates a Bluetooth device based on its MAC address.
getRemoteDevice() - Method in class ch.aplu.bluetooth.BtDeviceInfo
Returns the RemoteDevice part of BtDeviceInfo.
getRemoteDevice() - Method in class ch.aplu.bluetooth.BtServiceInfo
Returns the RemoteDevice part of BtServiceInfo.
getServerName() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the server's Bluetooth friendly name.
getServiceName(ServiceRecord) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns service name from given service record.
getServiceRecord() - Method in class ch.aplu.bluetooth.BtServiceInfo
Returns the ServiceRecord part of BtServiceInfo.
getStreamConnection() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the StreamConnection reference of the Bluetooth connection.

I

init(String) - Static method in class ch.aplu.bluetooth.VerboseWriter
Redirects output to the given log file.
inquiryCompleted(int) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
isBluetoothSupported() - Static method in class ch.aplu.bluetooth.BluetoothFinder
Returns state of local Bluetooth device.
isClient() - Method in class ch.aplu.bluetooth.BluetoothPeer
Returns true, if connected as client.
isConnected() - Method in class ch.aplu.bluetooth.BluetoothClient
Returns the connection state.
isConnected() - Method in class ch.aplu.bluetooth.BluetoothPeer
Returns the connection status.
isServer() - Method in class ch.aplu.bluetooth.BluetoothPeer
Returns true, if connected as server.

N

notifyBluetoothDeviceSearch(Vector) - Method in interface ch.aplu.bluetooth.BluetoothResponder
Callback notification methods called when the device search is finished.
notifyBluetoothServiceSearch(Vector) - Method in interface ch.aplu.bluetooth.BluetoothResponder
Callback notification methods called when the service search is finished.
notifyConnection(RemoteDevice, InputStream, OutputStream) - Method in interface ch.aplu.bluetooth.BtListener
Called when a client connects successfully to the server.
notifyConnection(boolean) - Method in interface ch.aplu.bluetooth.BtPeerListener
Called when connection is established/lost.

O

out - Static variable in class ch.aplu.bluetooth.VerboseWriter
PrintStream object reference.

P

PackageInfo - Class in ch.aplu.bluetooth
Class to provide the current package version.
PackageInfo() - Constructor for class ch.aplu.bluetooth.PackageInfo
 

R

receiveDataBlock(int[]) - Method in interface ch.aplu.bluetooth.BtPeerListener
Called when incoming data is received.
releaseConnection() - Method in class ch.aplu.bluetooth.BluetoothPeer
Releases a connection and informs the connected node's listener by calling notifyConnection(false).
run() - Method in class ch.aplu.bluetooth.BluetoothServer
For internal use only.

S

searchCachedDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Searches for device with given name in the 'cached' database, and return it.
searchPreknownDevice(String) - Static method in class ch.aplu.bluetooth.BluetoothFinder
Searches for device with given name in the 'preknown' database, and return it.
sendDataBlock(int[]) - Method in class ch.aplu.bluetooth.BluetoothPeer
Send a block of data to the connected node.
servicesDiscovered(int, ServiceRecord[]) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
serviceSearchCompleted(int, int) - Method in class ch.aplu.bluetooth.BluetoothFinder
For internal use only.
setVerbose(boolean) - Method in class ch.aplu.bluetooth.BluetoothClient
Set the verbose mode on/off.
setVerbose(boolean) - Method in class ch.aplu.bluetooth.BluetoothServer
Sets the verbose mode on/off.

V

VerboseWriter - Class in ch.aplu.bluetooth
Class to output text information either to System.out or into a log file.
VerboseWriter() - Constructor for class ch.aplu.bluetooth.VerboseWriter
 
VERSION - Static variable in class ch.aplu.bluetooth.PackageInfo
Current version of package.
B C D G I N O P R S V