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 | |
| 22 | //import java.net.InetAddress; |
| 23 | |
Francesco Furfari | f2a6791 | 2006-07-17 17:08:02 +0000 | [diff] [blame] | 24 | /* |
Karl Pauls | d312acc | 2007-06-18 20:38:33 +0000 | [diff] [blame^] | 25 | * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a> |
Francesco Furfari | f2a6791 | 2006-07-17 17:08:02 +0000 | [diff] [blame] | 26 | */ |
Francesco Furfari | 605e6e3 | 2006-04-04 22:53:50 +0000 | [diff] [blame] | 27 | public interface DriverController { |
| 28 | /** |
| 29 | * String for searching all the device on UPnP Network |
| 30 | */ |
| 31 | public final static String ALL_DEVICE = "ssdp:all"; |
| 32 | |
| 33 | /** |
| 34 | * String for searching only root device on UPnP Network |
| 35 | */ |
| 36 | public final static String ROOT_DEVICE = "upnp:rootdevice"; |
| 37 | /* |
| 38 | public InetAddress[] getBindAddress(); |
| 39 | |
| 40 | public void setBindAddress(InetAddress[] IPs); |
| 41 | */ |
| 42 | |
| 43 | /** |
| 44 | * Set how much messages should be sent by UPnP Base Driver |
| 45 | * for debugging purpose |
| 46 | * |
| 47 | * @param n the level of log that you want to set |
| 48 | */ |
| 49 | public void setLogLevel(int n); |
| 50 | |
| 51 | /** |
| 52 | * |
| 53 | * @return the actual value of log level |
| 54 | */ |
| 55 | public int getLogLevel(); |
| 56 | |
| 57 | /** |
| 58 | * Set if the message of the UPnP Stack should be reported or not |
| 59 | * |
| 60 | * @param b true if you want show messages from UPnP Stack false otherwise |
| 61 | */ |
| 62 | public void setCyberDebug(boolean b); |
| 63 | |
| 64 | /** |
| 65 | * |
| 66 | * @return true if the reporting of UPnP Stack message is active false otherwise |
| 67 | */ |
| 68 | public boolean getCyberDebug(); |
| 69 | |
| 70 | /** |
| 71 | * Sent a search message on the UPnP Network, and refresh the device |
| 72 | * founded by UPnP Base Driver |
| 73 | * |
| 74 | * @param target The SSDP string used for the search |
| 75 | */ |
| 76 | public void search(String target); |
| 77 | |
| 78 | |
| 79 | } |