Package com.nt.udc.io
Class COSAROutput
java.lang.Object
com.nt.udc.io.COSAROutput
- All Implemented Interfaces:
IOSAROutput
This class is used to assemble together OSAR Attributes
into OSAR and send them to the class implementing IDataSink
for storage.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
static int
boolean
This method is used to check if the COSAROutput is fully functional.void
setDataSink
(IDataSink iDataSink) This function is used to initialize the data sinkstatic void
setDebugLevel
(int debugLevel) boolean
This function is used to store records
-
Field Details
-
m_debugLevel
protected static int m_debugLevel -
m_iLogger
This member is used to report errors and warnings. -
m_iDataSink
This member is used to send OSARs in custom format to
-
-
Constructor Details
-
COSAROutput
-
-
Method Details
-
getDebugLevel
public static int getDebugLevel() -
getDataSink
-
setDebugLevel
public static void setDebugLevel(int debugLevel) -
setDataSink
Description copied from interface:IOSAROutput
This function is used to initialize the data sink- Specified by:
setDataSink
in interfaceIOSAROutput
-
storeOSAR
Description copied from interface:IOSAROutput
This function is used to store records- Specified by:
storeOSAR
in interfaceIOSAROutput
-
isHealthy
public boolean isHealthy()This method is used to check if the COSAROutput is fully functional. It is to be overridden in subclasses.- Specified by:
isHealthy
in interfaceIOSAROutput
-
error
-
debug
-