Package net.i2p.router.web.helpers
Class SybilRenderer
java.lang.Object
net.i2p.router.web.helpers.SybilRenderer
public class SybilRenderer extends Object
For debugging only.
Parts may later move to router as a periodic monitor.
Adapted from NetDbRenderer.
- Since:
- 0.9.24
-
Constructor Summary
Constructors Constructor Description SybilRenderer(RouterContext ctx)
-
Method Summary
Modifier and Type Method Description String
getNetDbSummary(Writer out, String nonce, int mode, long date)
Entry pointstatic void
renderSybilHTML(Writer out, RouterContext ctx, List<Hash> sybils, String victim)
Called from NetDbRenderer
-
Constructor Details
-
Method Details
-
getNetDbSummary
Entry point- Parameters:
mode
- what tab to showdate
- only for mode = 12- Throws:
IOException
-
renderSybilHTML
public static void renderSybilHTML(Writer out, RouterContext ctx, List<Hash> sybils, String victim) throws IOExceptionCalled from NetDbRenderer- Throws:
IOException
- Since:
- 0.9.28
-