|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.ubicollab.osgi.DiscoveryImpl
public class DiscoveryImpl
Constructor Summary | |
---|---|
DiscoveryImpl()
|
Method Summary | |
---|---|
void |
disconnectFromDatabase()
|
java.lang.String[] |
getInfoAboutService(java.lang.String url)
Gets all registered information about the specified service. |
java.lang.String |
getService(java.lang.String searchString)
Searches for services in the database, and returns any matches. |
boolean |
registerService(java.lang.String url)
Registers a service. |
boolean |
registerService(java.lang.String tagId,
java.lang.String url)
Registers a service. |
boolean |
registerService(java.lang.String tagId,
java.lang.String uuId,
java.lang.String name,
java.lang.String type,
java.lang.String protocol,
java.lang.String descriptionUrl,
java.lang.String serviceUrl,
java.lang.String owner)
Registers a service. |
boolean |
removeService(java.lang.String removeString)
Removes all services matching the removeString. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscoveryImpl()
Method Detail |
---|
public void disconnectFromDatabase()
public java.lang.String getService(java.lang.String searchString)
DiscoveryService
getService
in interface DiscoveryService
searchString
- tagId:public java.lang.String[] getInfoAboutService(java.lang.String url)
DiscoveryService
getInfoAboutService
in interface DiscoveryService
url
- Either the descriptionUrl or the serviceUrl of the service.
public boolean registerService(java.lang.String url)
DiscoveryService
registerService
in interface DiscoveryService
url
- The descriptionUrl of the service.
public boolean registerService(java.lang.String tagId, java.lang.String url)
DiscoveryService
registerService
in interface DiscoveryService
tagId
- The id of the RFID tag scanned to get the service.url
- The descriptionUrl of the service.
public boolean registerService(java.lang.String tagId, java.lang.String uuId, java.lang.String name, java.lang.String type, java.lang.String protocol, java.lang.String descriptionUrl, java.lang.String serviceUrl, java.lang.String owner)
DiscoveryService
registerService
in interface DiscoveryService
tagId
- The id of the RFID tag scanned to get the service.uuId
- The id of the UPnP device providing the service.name
- The name of the service.type
- The service type.protocol
- The service protocol.descriptionUrl
- The URL describing the service (ie. the URL to a WSDL-file).serviceUrl
- The service URL of the service (ie. http://abc.com/axis/services/ubiService)owner
- The person owning the service.
public boolean removeService(java.lang.String removeString)
DiscoveryService
removeService
in interface DiscoveryService
removeString
- tagId:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |