public class ClientBase
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
ClientBase(Config config)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
debug(int indent,
java.lang.String msg)
Helper function to dump some info messages to the console.
|
protected void |
debug(java.lang.String msg)
Helper function to dump some info messages to the console.
|
protected boolean |
debugOn()
Is debugging turned on?
|
protected void |
displayVersion()
Display the version of the client and server
|
protected Log |
getLog()
Retrieve the logger to use
|
protected void |
info(int indent,
java.lang.String msg)
Helper function to dump some info messages to the console.
|
protected void |
info(java.lang.String msg)
Helper function to dump some info messages to the console.
|
protected void |
infoField(int indent,
java.lang.String name,
boolean val)
Helper function to dump some info messages to the console
|
protected void |
infoField(int indent,
java.lang.String name,
java.lang.Object val)
Helper function to dump some info messages to the console
|
protected void |
infoField(java.lang.String name,
boolean val)
Helper function to dump some info messages to the console
|
protected void |
infoField(java.lang.String name,
java.lang.Object val)
Helper function to dump some info messages to the console
|
void |
init()
This is the method that performs the different actions
|
protected Config itsConfig
protected ClientBase(Config config)
protected Log getLog()
protected boolean debugOn()
protected void debug(java.lang.String msg)
msg
- The message to display.
protected void debug(int indent, java.lang.String msg)
msg
- The message to display.
protected void info(java.lang.String msg)
msg
- The message to display.
protected void info(int indent, java.lang.String msg)
msg
- The message to display.
protected void infoField(java.lang.String name, boolean val)
protected void infoField(int indent, java.lang.String name, boolean val)
protected void infoField(java.lang.String name, java.lang.Object val)
protected void infoField(int indent, java.lang.String name, java.lang.Object val)
public void init() throws java.lang.Exception
java.lang.Exception
protected void displayVersion() throws java.lang.Exception
java.lang.Exception