mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 14:02:06 +01:00
Added getAmountWritten.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3407 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
586e3a1604
commit
b3364fcce7
1 changed files with 9 additions and 1 deletions
|
@ -285,7 +285,15 @@ public abstract class FileTransfer {
|
||||||
public static final Status CANCLED = new Status();
|
public static final Status CANCLED = new Status();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Error {
|
/**
|
||||||
|
* Return the length of bytes written out to the stream.
|
||||||
|
* @return the amount in bytes written out.
|
||||||
|
*/
|
||||||
|
public long getAmountWritten(){
|
||||||
|
return amountWritten;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Error {
|
||||||
/**
|
/**
|
||||||
* No error
|
* No error
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue