blob: 580657ffedd875428645d1850d76482a76c557be [file] [log] [blame]
Francesco Furfariec7e1752006-10-02 13:37:04 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
Francesco Furfari5761bf22006-05-02 19:16:40 +00009 *
Francesco Furfariec7e1752006-10-02 13:37:04 +000010 * http://www.apache.org/licenses/LICENSE-2.0
Francesco Furfari5761bf22006-05-02 19:16:40 +000011 *
Francesco Furfariec7e1752006-10-02 13:37:04 +000012 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
Francesco Furfari605e6e32006-04-04 22:53:50 +000018 */
Francesco Furfariec7e1752006-10-02 13:37:04 +000019
Francesco Furfari605e6e32006-04-04 22:53:50 +000020package org.apache.felix.upnp.extra.controller;
21
Francesco Furfarif2a67912006-07-17 17:08:02 +000022/*
Karl Paulsd312acc2007-06-18 20:38:33 +000023* @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
Francesco Furfarif2a67912006-07-17 17:08:02 +000024*/
Francesco Furfari605e6e32006-04-04 22:53:50 +000025public interface DevicesInfo{
26 /**
27 *
28 * Allow you to get the URL that poinr to the XML description of
29 * a device specified by UUID.
30 *
31 * @param udn the UUID that identify a device
32 * @return The String that rappresent the URL that point to the description of the Device
33 */
34 public String getLocationURL(String udn);
35
36 /**
37 *
38 * Allow you to get the URL that poinr to the XML description of
39 * a service specified by ServiceId and UUID of the device that
40 * contain the service
41 *
42 * @param udn the UUID of the device that contain the service
43 * @param serviceId the ServiceId of the service
44 * @return The String that rappresent the URL that point to the description of the Service
45 */
46 public String getSCPDURL(String udn,String serviceId);
47
48 /**
49 * Allow you to get the absolue URL of a link that is conatin in a device
50 *
51 * @param udn the UUID of the UPnP Device
52 * @param link the relative link that you want to resolve
53 * @return The String that rappresent the absolute URL to the resourse specified by link
54 */
55 public String resolveRelativeUrl(String udn, String link);
56
57}