public class TransmissionEvent
extends java.lang.Object
AbstractTransmission object| Modifier and Type | Method and Description |
|---|---|
double |
getAverageSpeed()
Returns the calculated average speed of the transmission in Bytes/second.
|
java.lang.Exception |
getException()
Returns a
Exception that may have occured while transmitting data. |
double |
getPercentDone()
Returns the percentage already done in range from 0 to 1.
|
java.lang.String |
getResourceName()
Returns the name of the resource transmitted.
|
long |
getTotalLength()
Returns the transmission's total length in byte.
|
AbstractTransmission |
getTransmissionHandler()
Returns the
AbstractTransmission which handles the transmission. |
long |
getTransmissionId()
Returns the unique transmission id of the transmission displayed by this event.
|
long |
getTransmittedLength()
Returns the already transmitted length in byte.
|
boolean |
isIndeterminate()
Returns if the transmision has an end or is a endess stream.
|
public long getTransmissionId()
public long getTotalLength()
public long getTransmittedLength()
public java.lang.String getResourceName()
public AbstractTransmission getTransmissionHandler()
AbstractTransmission which handles the transmission.AbstractTransmission which handles the transmissionpublic double getPercentDone()
public java.lang.Exception getException()
Exception that may have occured while transmitting data.Exception that may have occured while transmitting datapublic boolean isIndeterminate()
public double getAverageSpeed()