public class TransferState extends Object
Constructor and Description |
---|
TransferState() |
Modifier and Type | Method and Description |
---|---|
void |
checkError() |
Exception |
getError() |
boolean |
hasError() |
boolean |
isDone() |
boolean |
isStarted() |
void |
transferDone() |
void |
transferError(Exception e) |
void |
transferStarted() |
void |
waitForEnd()
Blocks until the transfer is complete or
the transfer fails.
|
void |
waitForStart()
Blocks until the transfer begins or
the transfer fails to start.
|
public void transferStarted()
public void transferDone()
public void transferError(Exception e)
public boolean isDone()
public boolean isStarted()
public void waitForEnd() throws ServerException, ClientException, IOException
public void waitForStart() throws ServerException, ClientException, IOException
public boolean hasError()
public Exception getError()
public void checkError() throws ServerException, ClientException, IOException
Copyright © 2016. All rights reserved.