|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.transport.UPnPManager
class UPnPManager
Bridge from the I2P RouterAddress data structure to the freenet data structures
Constructor Summary | |
---|---|
UPnPManager(RouterContext context,
TransportManager manager)
|
Method Summary | |
---|---|
String |
renderStatusHTML()
Warning - blocking, very slow, queries the active router, will take many seconds if it has vanished. |
void |
rescan()
Call when IP or network connectivity might have changed. |
void |
start()
Blocking, may take a while |
void |
stop()
Blocking, may take a while, up to 20 seconds |
void |
update(Set<TransportManager.Port> ports)
Call when the ports might have changed The transports can call this pretty quickly at startup, which can have multiple UPnP threads running at once, but that should be ok. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UPnPManager(RouterContext context, TransportManager manager)
Method Detail |
---|
public void start()
public void stop()
public void rescan()
public void update(Set<TransportManager.Port> ports)
public String renderStatusHTML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |