org.placelab.midp.server
Class BluetoothServer

java.lang.Object
  extended byorg.placelab.midp.server.BluetoothServer

public class BluetoothServer
extends java.lang.Object

Bluetooth server that handles incoming connection requests from a phone client and starts the appropriate service to handle the connection. Note: If the server is not receiving the connection request, one possibility is the bluetooth request is being intercepted by another process on the machine, possibly mRouter if that is set to connect to a phone via bluetooth. Turn this feature off before communicating with this server.


Field Summary
static javax.bluetooth.UUID uuid
           
 
Constructor Summary
BluetoothServer()
           
 
Method Summary
 void addService(BluetoothService service)
           
 void listen()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uuid

public static final javax.bluetooth.UUID uuid
Constructor Detail

BluetoothServer

public BluetoothServer()
                throws java.io.IOException
Method Detail

addService

public void addService(BluetoothService service)

listen

public void listen()

main

public static void main(java.lang.String[] args)