blob: 4110b04624ee289c4f4b4fa13f42ed27e9e0b8d3 [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
22//import java.net.InetAddress;
23
Francesco Furfarif2a67912006-07-17 17:08:02 +000024/*
Karl Paulsd312acc2007-06-18 20:38:33 +000025* @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
Francesco Furfarif2a67912006-07-17 17:08:02 +000026*/
Francesco Furfari605e6e32006-04-04 22:53:50 +000027public 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}