All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eg.agent.android.instrumentation.io.StreamCompleteEvent Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
package com.eg.agent.android.instrumentation.io;

import java.util.EventObject;

public final class StreamCompleteEvent  extends EventObject
{
    private static final long serialVersionUID = 1L;
    private final long bytes;
    private final Exception exception;
    public StreamCompleteEvent(Object paramObject, long paramLong)
    {
        this(paramObject, paramLong, null);
    }
    public StreamCompleteEvent(Object paramObject, long paramLong, Exception paramException)
    {
        super(paramObject);
        this.bytes = paramLong;
        this.exception = paramException;
    }
    public long getBytes()
    {
        return this.bytes;
    }
    public Exception getException()
    {
        return this.exception;
    }
    public boolean isError()
    {
        return this.exception != null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy