|
|
|
@ -77,6 +77,7 @@ import net.sbbi.upnp.services.UPNPService;
|
|
|
|
|
* @author <a href="mailto:superbonbon@sbbi.net">SuperBonBon</a>
|
|
|
|
|
* @version 1.0
|
|
|
|
|
*/
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
|
|
public class InternetGatewayDevice {
|
|
|
|
|
|
|
|
|
|
private final static Log log = LogFactory.getLog( InternetGatewayDevice.class );
|
|
|
|
@ -226,6 +227,7 @@ public class InternetGatewayDevice {
|
|
|
|
|
* @deprecated use generic {@link #getDevices(int)} or {@link #getDevices(int, int, int, NetworkInterface)} methods since this one is not
|
|
|
|
|
* usable with all IGD devices ( will only work with devices implementing the urn:schemas-upnp-org:service:WANIPConnection:1 service )
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
public static InternetGatewayDevice[] getIPDevices( int timeout ) throws IOException {
|
|
|
|
|
return lookupDeviceDevices( timeout, Discovery.DEFAULT_TTL, Discovery.DEFAULT_MX, true, false, null );
|
|
|
|
|
}
|
|
|
|
@ -238,6 +240,7 @@ public class InternetGatewayDevice {
|
|
|
|
|
* @deprecated use generic {@link #getDevices(int)} or {@link #getDevices(int, int, int, NetworkInterface)} methods since this one is not
|
|
|
|
|
* usable with all IGD devices ( will only work with devices implementing the urn:schemas-upnp-org:service:WANPPPConnection:1 service )
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
public static InternetGatewayDevice[] getPPPDevices( int timeout ) throws IOException {
|
|
|
|
|
return lookupDeviceDevices( timeout, Discovery.DEFAULT_TTL, Discovery.DEFAULT_MX, false, true, null );
|
|
|
|
|
}
|
|
|
|
|