public class Debug extends Object
Constructor and Description |
---|
Debug(String clientID,
ClientComms comms)
Set the debug facility up for a specific client
|
Modifier and Type | Method and Description |
---|---|
void |
dumpBaseDebug()
Dump of JVM wide debug info.
|
void |
dumpClientComms()
Dump interesting variables from ClientComms
|
void |
dumpClientDebug()
Dump maximum debug info.
|
void |
dumpClientState()
Dump interesting variables from ClientState
|
void |
dumpConOptions()
Dump Connection options
|
protected void |
dumpMemoryTrace()
If memory trace is being used a request is made to push it to the target handler.
|
static String |
dumpProperties(Properties props,
String name)
Return a set of properties as a formatted string
|
void |
dumpSystemProperties()
Dump the current set of system.properties to a log record
|
protected void |
dumpVersion()
Dump information that show the version of the MQTT client being used.
|
static String |
left(String s,
int width,
char fillChar)
Left justify a string.
|
public Debug(String clientID, ClientComms comms)
clientID
- the ID of the client being debuggedcomms
- the ClientComms object of the client being debuggedpublic void dumpBaseDebug()
public void dumpClientComms()
public void dumpClientDebug()
public void dumpClientState()
public void dumpConOptions()
protected void dumpMemoryTrace()
public static String dumpProperties(Properties props, String name)
public void dumpSystemProperties()
protected void dumpVersion()