Francesco Furfari | ec7e175 | 2006-10-02 13:37:04 +0000 | [diff] [blame] | 1 | /* |
| 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 Furfari | 5761bf2 | 2006-05-02 19:16:40 +0000 | [diff] [blame] | 9 | * |
Francesco Furfari | ec7e175 | 2006-10-02 13:37:04 +0000 | [diff] [blame] | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
Francesco Furfari | 5761bf2 | 2006-05-02 19:16:40 +0000 | [diff] [blame] | 11 | * |
Francesco Furfari | ec7e175 | 2006-10-02 13:37:04 +0000 | [diff] [blame] | 12 | * 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 Furfari | 605e6e3 | 2006-04-04 22:53:50 +0000 | [diff] [blame] | 18 | */ |
Francesco Furfari | ec7e175 | 2006-10-02 13:37:04 +0000 | [diff] [blame] | 19 | |
Francesco Furfari | 605e6e3 | 2006-04-04 22:53:50 +0000 | [diff] [blame] | 20 | package org.apache.felix.upnp.extra.controller; |
| 21 | |
Francesco Furfari | f2a6791 | 2006-07-17 17:08:02 +0000 | [diff] [blame] | 22 | /* |
Karl Pauls | d312acc | 2007-06-18 20:38:33 +0000 | [diff] [blame^] | 23 | * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a> |
Francesco Furfari | f2a6791 | 2006-07-17 17:08:02 +0000 | [diff] [blame] | 24 | */ |
Francesco Furfari | 605e6e3 | 2006-04-04 22:53:50 +0000 | [diff] [blame] | 25 | public 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 | } |