public abstract class ClientInterface
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected ClientManagement |
clientManagement |
private Logger |
logger |
Constructor and Description |
---|
ClientInterface(ClientManagement clientManagement,
Logger logger)
Constructor with clientManagement and logger.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeLog(java.lang.Exception e,
LogLevel logLevel)
Implementation of writeLog
|
protected void |
writeLog(java.lang.String text,
LogLevel logLevel)
Implementation of writeLog
|
protected ClientManagement clientManagement
private Logger logger
public ClientInterface(ClientManagement clientManagement, Logger logger)
clientManagement
- ClientManagement usedlogger
- Logger usedprotected void writeLog(java.lang.String text, LogLevel logLevel)
text
- Text to loglogLevel
- level of loggingprotected void writeLog(java.lang.Exception e, LogLevel logLevel)
e
- exception to loglogLevel
- level of logging