接口 DistroDataProcessor
public interface DistroDataProcessor
Distro data processor.
- 作者:
- xiweng.yy
-
方法概要
修饰符和类型方法说明booleanprocessData(DistroData distroData)Process received data.booleanprocessSnapshot(DistroData distroData)Process snapshot data.Process type of this processor.booleanprocessVerifyData(DistroData distroData, String sourceAddress)Process received verify data.
-
方法详细资料
-
processType
String processType()Process type of this processor.- 返回:
- type of this processor
-
processData
Process received data.- 参数:
distroData- received data- 返回:
- true if process data successfully, otherwise false
-
processVerifyData
Process received verify data.- 参数:
distroData- verify datasourceAddress- source server address, might be get data from source server- 返回:
- true if the data is available, otherwise false
-
processSnapshot
Process snapshot data.- 参数:
distroData- snapshot data- 返回:
- true if process data successfully, otherwise false
-