/*
 * Decompiled with CFR 0.152.
 */
package com.l7tech.server.tomcat.nio2;

import com.l7tech.server.tomcat.nio2.k;
import java.nio.ByteBuffer;
import java.nio.channels.CompletionHandler;

class e
implements CompletionHandler<Integer, A> {
    final ByteBuffer val$dst;
    final CompletionHandler val$handler;
    final k this$1;

    e(k k2, ByteBuffer byteBuffer, CompletionHandler completionHandler) {
        this.this$1 = k2;
        this.val$dst = byteBuffer;
        this.val$handler = completionHandler;
    }

    @Override
    public void completed(Integer n2, A a10) {
        this.this$1.a.trace(this.val$dst, 0, n2);
        this.val$handler.completed(n2, a10);
    }

    @Override
    public void failed(Throwable throwable, A a10) {
        this.val$handler.failed(throwable, a10);
    }
}

