public class SybilRenderer extends Object
Constructor and Description |
---|
SybilRenderer(RouterContext ctx) |
Modifier and Type | Method and Description |
---|---|
String |
getNetDbSummary(Writer out,
String nonce,
int mode,
long date)
Entry point
|
static void |
renderSybilHTML(Writer out,
RouterContext ctx,
List<Hash> sybils,
String victim)
Called from NetDbRenderer
|
public SybilRenderer(RouterContext ctx)
public String getNetDbSummary(Writer out, String nonce, int mode, long date) throws IOException
mode
- what tab to showdate
- only for mode = 12IOException
public static void renderSybilHTML(Writer out, RouterContext ctx, List<Hash> sybils, String victim) throws IOException
IOException