Package net.i2p.router.web.helpers
Class NetDbRenderer
java.lang.Object
net.i2p.router.web.helpers.NetDbRenderer
class NetDbRenderer extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classNetDbRenderer.RAComparatorSort by style, then host -
Constructor Summary
Constructors Constructor Description NetDbRenderer(RouterContext ctx) -
Method Summary
Modifier and Type Method Description voidrenderLeaseSetHTML(Writer out, boolean debug)voidrenderRouterInfoHTML(Writer out, int pageSize, int page, String routerPrefix, String version, String country, String family, String caps, String ip, String sybil, int port, SigType type, EncType etype, String mtu, String ipv6, String ssucaps, String tr, int cost)One String must be non-nullvoidrenderStatusHTML(Writer out, int pageSize, int page, int mode)
-
Constructor Details
-
Method Details
-
renderRouterInfoHTML
public void renderRouterInfoHTML(Writer out, int pageSize, int page, String routerPrefix, String version, String country, String family, String caps, String ip, String sybil, int port, SigType type, EncType etype, String mtu, String ipv6, String ssucaps, String tr, int cost) throws IOExceptionOne String must be non-null- Parameters:
page- zero-basedrouterPrefix- may be null. "." for our router onlyversion- may be nullcountry- may be nullfamily- may be null- Throws:
IOException
-
renderLeaseSetHTML
- Parameters:
debug-- Throws:
IOException- Since:
- 0.7.14 sort by distance from us, display median distance, and other stuff, useful when floodfill
-
renderStatusHTML
- Parameters:
mode- 0: charts only; 1: full routerinfos; 2: abbreviated routerinfos- Throws:
IOException
-