package  org.ts.ddcs.filter;

import org.ts.ddcs.dataStream.DataStreamAdapter;
import org.ts.ddcs.log.LogHelper;
import org.ts.ddcs.util.BytesUtil;

/**
 * created by swp on 2017/9/15
 * @author dylan
 */
public class DtuLinkDataCheckFilter implements  DataFilter {
	@Override
    public boolean filter(byte[] byteBuff, int pos, int length, DataStreamAdapter dataStreamAdapter, Object template) {
        LogHelper.info("***Receive String  DTU  LINK Hex:" + BytesUtil.byte2HexStr(byteBuff));
        return true;
    }
}
