Package com.nt.udc.ndk.node
Interface FileDataReceiverIfc
- All Known Subinterfaces:
DCStreamHandler
- All Known Implementing Classes:
AggregatorFieldProcessor
,DCFieldProcessor
,DeclNPLFieldProcessor
,DiscProcFieldProcessor
,DupRemoverFieldProcessor
,FileOITransport
,FlexibleAggregatorFieldProcessor
,HCDeDupFieldProcessor
,JDBCOIFieldProcessor
,JDBCOITransport
,MXNARFileManager
,MXNarOutReceiverWrapper
,MXNPLFieldProcessor
,NARFileManager
,NARFileManagerMT
,NARSelectorFieldProcessor
,NARStreamHandler
,NPLFieldProcessor
,OITransport
,RadiusOITransport
,SeqProcFieldProcessor
,Sol42FieldProcessor
,TcpOITransport
,UdpOITransport
public interface FileDataReceiverIfc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Allows a FileDataProvider to indicate that some data is available for processingGets the object that is holding data for this FileDataReceiverboolean
processEndOfFileData
(String transactionID) Allows FileDataProvider to indicate end of file recordboolean
Manipulates the data provided by its DataProviderboolean
processFileData
(DCFieldContainer[] data) Manipulates the set of data provided by its DataProviderboolean
Allows FileDataProvider to indicate rejection of the fileboolean
processStartOfFileData
(String originalFileName) Allows FileDataProvider to indicate start of filevoid
setFileDataProvider
(FileDataProviderIfc provider) Sets the object from which this FileDataReceiver will obtain its data.void
setTransactionID
(String tID)
-
Method Details
-
fileDataIsAvailable
void fileDataIsAvailable()Allows a FileDataProvider to indicate that some data is available for processing -
processStartOfFileData
Allows FileDataProvider to indicate start of file- Returns:
true
, if data is available- Throws:
NodeProcessingException
-
processFileData
Manipulates the data provided by its DataProvider- Returns:
true
, if data is processed successfully- Throws:
NodeProcessingException
FileRejectException
-
processFileData
Manipulates the set of data provided by its DataProvider- Returns:
true
, if data is processed successfully- Throws:
NodeProcessingException
-
processEndOfFileData
Allows FileDataProvider to indicate end of file record- Returns:
true
, if processed successfully- Throws:
NodeProcessingException
-
processRejectFile
Allows FileDataProvider to indicate rejection of the file- Returns:
true
, if processed successfully- Throws:
NodeProcessingException
-
setFileDataProvider
Sets the object from which this FileDataReceiver will obtain its data.- Parameters:
provider
- Object which has data that needs to be retrieved by this DataReceiver
-
getFileDataProvider
FileDataProviderIfc getFileDataProvider()Gets the object that is holding data for this FileDataReceiver- Returns:
- Object from which this DataReceiver is retrieving data
-
setTransactionID
-