protected IZkDataListener createTargetDataListener(String path, final DataListener listener) {
        return new IZkDataListener() {
            @Override
            public void handleDataChange(String dataPath, Object data) throws Exception {
                listener.dataChange(dataPath, data);
            }

            @Override
            public void handleDataDeleted(String dataPath) throws Exception {
                listener.dataDeleted(dataPath);
            }
        };
    }
@author Robert HG (254963746@qq.com) on 7/8/14.
lts-core/src/main/java/com/github/ltsopensource/zookeeper/zkclient/ZkClientZkClient.java