public class TransferState
extends java.lang.Object
Constructor and Description |
---|
TransferState() |
Modifier and Type | Method and Description |
---|---|
void |
checkError() |
java.lang.Exception |
getError() |
boolean |
hasError() |
boolean |
isDone() |
boolean |
isStarted() |
void |
transferDone() |
void |
transferError(java.lang.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(java.lang.Exception e)
public boolean isDone()
public boolean isStarted()
public void waitForEnd() throws ServerException, ClientException, java.io.IOException
ServerException
ClientException
java.io.IOException
public void waitForStart() throws ServerException, ClientException, java.io.IOException
ServerException
ClientException
java.io.IOException
public boolean hasError()
public java.lang.Exception getError()
public void checkError() throws ServerException, ClientException, java.io.IOException
ServerException
ClientException
java.io.IOException
Copyright © 2013. All Rights Reserved.