class Listener1Assist implements ListenerAssist,
        ListenerModelHandler.ModelCreator<Listener1Assist.Listener1Model> {

    public void connectEnd(DownloadTask task) {
        final Listener1Model model = modelHandler.getOrRecoverModel(task, task.getInfo());
        if (model == null) return;

        if (model.isFromResumed && model.isFirstConnect) {
            model.isFirstConnect = false;
        }

        if (callback != null) {
            callback.connected(task, model.blockCount, model.currentOffset.get(),
                    model.totalLength);
        }
    }

    public  Listener1Assist();
      Listener1Assist(ListenerModelHandler<Listener1Model> handler);

}