org.placelab.midp.stumbler
Class StumbleUploadClient
java.lang.Object
org.placelab.midp.BluetoothClient
org.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.
| 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 |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StumbleUploadClient
public StumbleUploadClient(javax.microedition.lcdui.Display d,
UIComponent c)
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