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 voidprotected voidstatic intbooleanThis method is used to check if the COSAROutput is fully functional.voidsetDataSink(IDataSink iDataSink) This function is used to initialize the data sinkstatic voidsetDebugLevel(int debugLevel) booleanThis 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:IOSAROutputThis function is used to initialize the data sink- Specified by:
setDataSinkin interfaceIOSAROutput
-
storeOSAR
Description copied from interface:IOSAROutputThis function is used to store records- Specified by:
storeOSARin 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:
isHealthyin interfaceIOSAROutput
-
error
-
debug
-