Package com.nt.udc.io
Interface IDataSink
- All Known Implementing Classes:
CDataSink
,CStringDataSink
public interface IDataSink
This interface is to be implemented by data sinks.
- Since:
- JDK1.1.7
-
Method Summary
-
Method Details
-
writeData
- Returns:
- true if successful, false otherwise
-
start
boolean start()This function is called to start writing data to the sink. Classes implementing IDataSink may use it for initialization.- Returns:
- true if successful, false otherwise
-
stop
boolean stop()This function is called to stop writing. Classes implementing IDataSink may use it for clean-up operations.- Returns:
- true if successful, false otherwise
-