public class COSAROutput extends java.lang.Object implements IOSAROutput
Modifier and Type | Field and Description |
---|---|
protected static int |
m_debugLevel |
protected IDataSink |
m_iDataSink
This member is used to send OSARs in custom format to
|
protected ILogger |
m_iLogger
This member is used to report errors and warnings.
|
Constructor and Description |
---|
COSAROutput(ILogger iLogger) |
Modifier and Type | Method and Description |
---|---|
protected void |
debug(java.lang.String fName,
java.lang.String msg) |
protected void |
error(java.lang.String fName,
java.lang.String msg) |
IDataSink |
getDataSink() |
static int |
getDebugLevel() |
boolean |
isHealthy()
This method is used to check if the COSAROutput is fully functional.
|
void |
setDataSink(IDataSink iDataSink)
This function is used to initialize the data sink
|
static void |
setDebugLevel(int debugLevel) |
boolean |
storeOSAR(COSAR osar)
This function is used to store records
|
protected static int m_debugLevel
protected ILogger m_iLogger
protected IDataSink m_iDataSink
public COSAROutput(ILogger iLogger)
public static int getDebugLevel()
public IDataSink getDataSink()
public static void setDebugLevel(int debugLevel)
public void setDataSink(IDataSink iDataSink)
IOSAROutput
setDataSink
in interface IOSAROutput
public boolean storeOSAR(COSAR osar)
IOSAROutput
storeOSAR
in interface IOSAROutput
public boolean isHealthy()
isHealthy
in interface IOSAROutput
protected void error(java.lang.String fName, java.lang.String msg)
protected void debug(java.lang.String fName, java.lang.String msg)