org.globus.ftp.vanilla
Class TransferState

java.lang.Object
  extended by org.globus.ftp.vanilla.TransferState

public class TransferState
extends java.lang.Object


Constructor Summary
TransferState()
           
 
Method Summary
 void checkError()
           
 java.lang.Exception getError()
           
 boolean hasError()
           
 boolean isDone()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferState

public TransferState()
Method Detail

transferStarted

public void transferStarted()

transferDone

public void transferDone()

transferError

public void transferError(java.lang.Exception e)

isDone

public boolean isDone()

waitForEnd

public void waitForEnd()
                throws ServerException,
                       ClientException,
                       java.io.IOException
Blocks until the transfer is complete or the transfer fails.

Throws:
ServerException
ClientException
java.io.IOException

waitForStart

public void waitForStart()
                  throws ServerException,
                         ClientException,
                         java.io.IOException
Blocks until the transfer begins or the transfer fails to start.

Throws:
ServerException
ClientException
java.io.IOException

hasError

public boolean hasError()

getError

public java.lang.Exception getError()

checkError

public void checkError()
                throws ServerException,
                       ClientException,
                       java.io.IOException
Throws:
ServerException
ClientException
java.io.IOException