Package org.bitlet.weupnp

Examples of org.bitlet.weupnp.GatewayDiscover


public class UPnPAccessWeupnp implements IUPnPAccess {

    public Collection<GatewayDevice> performDiscovery() throws SocketException,
        UnknownHostException, IOException, SAXException,
        ParserConfigurationException {
        return new GatewayDiscover().discover();
    }
View Full Code Here


    if (gatewayDevice != null) {
      gatewayDevice.deletePortMapping(this.externalPortTCP, "TCP");
      gatewayDevice.deletePortMapping(this.externalPortUDP, "UDP");
    }
    GatewayDiscover discover = new GatewayDiscover();
    discover.discover();
    gatewayDevice = discover.getValidGateway();

    if (gatewayDevice == null) {
      LOGGER.info("no UPNP device found");
      return false;
    }
View Full Code Here

TOP

Related Classes of org.bitlet.weupnp.GatewayDiscover

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.