com.buglabs.services.ws
Interface PublicWSProvider2

All Superinterfaces:
PublicWSProvider
All Known Subinterfaces:
PublicWSProviderWithParams
All Known Implementing Classes:
AccelerationWS, AudioWS, BUGBeeWS, BugNetWSProvider, CameraModlet, DefaultWSImplementation, DefaultWSImplementationWithParams, GPSModlet, GSMModlet, MotionWS, PBWS, SensorWS, StatusBar, VonHippelWS

public interface PublicWSProvider2
extends PublicWSProvider

This interface is a base interface for Bug services. The new set method allows for multiple services to exist concurrently. The PublicWSAdmin will assign a new name to services for which the default name is already being used.


Field Summary
 
Fields inherited from interface com.buglabs.services.ws.PublicWSProvider
DELETE, GET, PACKAGE_ID, POST, PUT
 
Method Summary
 void setPublicName(java.lang.String name)
          Set the name of the service.
 
Methods inherited from interface com.buglabs.services.ws.PublicWSProvider
discover, execute, getDescription, getPublicName
 

Method Detail

setPublicName

void setPublicName(java.lang.String name)
Set the name of the service. This can be done on registration.

Parameters:
name -