/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.module.ServerModuleFile
 *  com.l7tech.objectmodel.FindException
 *  com.l7tech.util.Either
 *  com.l7tech.util.Functions$Nullary
 */
package com.l7tech.server.module;

import com.l7tech.gateway.common.module.ServerModuleFile;
import com.l7tech.objectmodel.FindException;
import com.l7tech.server.module.ServerModuleFileListener;
import com.l7tech.util.Either;
import com.l7tech.util.Functions;
import java.util.Collection;

class h
implements Functions.Nullary<Either<FindException, Collection<ServerModuleFile>>> {
    final ServerModuleFileListener this$0;

    h(ServerModuleFileListener serverModuleFileListener) {
        this.this$0 = serverModuleFileListener;
    }

    public Either<FindException, Collection<ServerModuleFile>> call() {
        try {
            return Either.right((Object)this.this$0.serverModuleFileManager.findAll());
        }
        catch (FindException findException) {
            return Either.left((Object)((Object)findException));
        }
    }
}

