org.placelab.midp.stumbler
Class StumbleUploadClient

java.lang.Object
  extended byorg.placelab.midp.BluetoothClient
      extended byorg.placelab.midp.stumbler.StumbleUploadClient
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener, javax.bluetooth.DiscoveryListener, UIComponent

public class StumbleUploadClient
extends BluetoothClient

Upload client for sending stumble logs to the desktop proxy server through bluetooth. These logs are then uploaded to the main placelab database by the proxy server.


Field Summary
 
Fields inherited from class org.placelab.midp.BluetoothClient
back, display, RECORDSTORE_NAME, uuid
 
Fields inherited from interface javax.bluetooth.DiscoveryListener
INQUIRY_COMPLETED, INQUIRY_ERROR, INQUIRY_TERMINATED, SERVICE_SEARCH_COMPLETED, SERVICE_SEARCH_DEVICE_NOT_REACHABLE, SERVICE_SEARCH_ERROR, SERVICE_SEARCH_NO_RECORDS, SERVICE_SEARCH_TERMINATED
 
Constructor Summary
StumbleUploadClient(javax.microedition.lcdui.Display d, UIComponent c)
           
 
Method Summary
 java.lang.String getName()
           
 byte getServiceType()
           
 void handleConnection(java.io.DataInputStream in, java.io.DataOutputStream out)
          Handle the connection between the phone client and the server
 
Methods inherited from class org.placelab.midp.BluetoothClient
commandAction, deviceDiscovered, inquiryCompleted, servicesDiscovered, serviceSearchCompleted, setStatus, showUI, updateStatus, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StumbleUploadClient

public StumbleUploadClient(javax.microedition.lcdui.Display d,
                           UIComponent c)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class BluetoothClient

getServiceType

public byte getServiceType()
Specified by:
getServiceType in class BluetoothClient

handleConnection

public void handleConnection(java.io.DataInputStream in,
                             java.io.DataOutputStream out)
Handle the connection between the phone client and the server

Specified by:
handleConnection in class BluetoothClient