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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
SybilRenderer
public SybilRenderer(RouterContext ctx)
-
-
Method Detail
-
getNetDbSummary
public String getNetDbSummary(Writer out, String nonce, int mode, long date) throws IOException
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 IOException
Called from NetDbRenderer- Throws:
IOException
- Since:
- 0.9.28
-
-