org.placelab.midp.server
Class MapLoaderProxy

java.lang.Object
  extended byorg.placelab.midp.server.MapLoaderProxy
All Implemented Interfaces:
BluetoothService

public class MapLoaderProxy
extends java.lang.Object
implements BluetoothService

Proxy service that communicates with the map loader on the phone via bluetooth. The proxy downloads the latest map data from http://www.placelab.org/data/do-retrieve.php and sends the data to the phone.


Field Summary
 
Fields inherited from interface org.placelab.midp.server.BluetoothService
ACTIVITY_UPLOAD_SERVICE, CONSOLE_SERVICE, ESM_QUESTION_SERVICE, GPS_TIME_SERVICE, LOCATION_UPLOAD_SERVICE, LOG_UPLOAD_SERVICE, MAP_LOADER_SERVICE, PLACE_UPLOAD_SERVICE
 
Constructor Summary
MapLoaderProxy()
           
 
Method Summary
 java.lang.String getName()
           
 byte getServiceType()
           
 void newClient(java.io.DataInputStream in, java.io.DataOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLoaderProxy

public MapLoaderProxy()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface BluetoothService

getServiceType

public byte getServiceType()
Specified by:
getServiceType in interface BluetoothService

newClient

public void newClient(java.io.DataInputStream in,
                      java.io.DataOutputStream out)
Specified by:
newClient in interface BluetoothService