com.aelitis.azureus.core.dht.impl
Class DHTLog

java.lang.Object
  extended by com.aelitis.azureus.core.dht.impl.DHTLog

public class DHTLog
extends Object


Field Summary
static boolean CONTACT_VERIFY_TRACE
           
static boolean GLOBAL_BLOOM_TRACE
           
static boolean LOCAL_BLOOM_TRACE
           
static boolean logging_on
           
static boolean TRACE_VERSIONS
           
 
Constructor Summary
DHTLog()
           
 
Method Summary
static String getFullString(byte[] b)
           
static String getString(byte[] b)
           
static String getString(ByteArrayHashMap<?> s)
           
static String getString(DHTTransportContact contact)
           
static String getString(DHTTransportContact[] contacts)
           
static String getString(DHTTransportValue value)
           
static String getString(DHTTransportValue[] values)
           
static String getString(HashWrapper w)
           
static String getString(List l)
           
static String getString(Map s)
           
static String getString(Set s)
           
static void getString(StringBuilder sb, DHTTransportValue value)
           
static String getString2(byte[] b)
           
static boolean isOn()
           
static void log(String str)
           
static void setLogger(DHTLogger l)
           
protected static void setLogging(boolean on)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL_BLOOM_TRACE

public static final boolean GLOBAL_BLOOM_TRACE
See Also:
Constant Field Values

LOCAL_BLOOM_TRACE

public static final boolean LOCAL_BLOOM_TRACE
See Also:
Constant Field Values

CONTACT_VERIFY_TRACE

public static final boolean CONTACT_VERIFY_TRACE
See Also:
Constant Field Values

TRACE_VERSIONS

public static final boolean TRACE_VERSIONS
See Also:
Constant Field Values

logging_on

public static boolean logging_on
Constructor Detail

DHTLog

public DHTLog()
Method Detail

setLogging

protected static void setLogging(boolean on)

isOn

public static boolean isOn()

log

public static void log(String str)

setLogger

public static void setLogger(DHTLogger l)

getString

public static String getString(byte[] b)

getString2

public static String getString2(byte[] b)

getFullString

public static String getFullString(byte[] b)

getString

public static String getString(HashWrapper w)

getString

public static String getString(DHTTransportContact[] contacts)

getString

public static String getString(DHTTransportContact contact)

getString

public static String getString(List l)

getString

public static String getString(Set s)

getString

public static String getString(Map s)

getString

public static String getString(ByteArrayHashMap<?> s)

getString

public static String getString(DHTTransportValue[] values)

getString

public static void getString(StringBuilder sb,
                             DHTTransportValue value)

getString

public static String getString(DHTTransportValue value)