Changeset ab064fd for router


Ignore:
Timestamp:
Nov 8, 2016 12:15:37 AM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cd775fa
Parents:
08062aa
Message:

add upnp to command line

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/CommandLine.java

    r08062aa rab064fd  
    2424        "net.i2p.router.transport.GeoIPv6",
    2525        "net.i2p.router.transport.udp.MTU",
    26         //"net.i2p.router.transport.UPnP"
     26        "net.i2p.router.transport.UPnP"
    2727    });
    2828
  • router/java/src/net/i2p/router/transport/UPnP.java

    r08062aa rab064fd  
    5959 * some code has been borrowed from Limewire : @see com.limegroup.gnutella.UPnPManager
    6060 *
     61 * Public only for command line usage. Not a public API, not for external use.
     62 *
    6163 * @see "http://www.upnp.org/"
    6264 * @see "http://en.wikipedia.org/wiki/Universal_Plug_and_Play"
     
    6971 * TODO: Implement EventListener and react on ip-change
    7072 */
    71 class UPnP extends ControlPoint implements DeviceChangeListener, EventListener {
     73public class UPnP extends ControlPoint implements DeviceChangeListener, EventListener {
    7274        private final Log _log;
    7375        private final I2PAppContext _context;
Note: See TracChangeset for help on using the changeset viewer.