EBlockParallelTransferContext (Java Globus API)

org.globus.ftp.dc
Class EBlockParallelTransferContext

java.lang.Object
  |
  +--org.globus.ftp.dc.EBlockParallelTransferContext
All Implemented Interfaces:
TransferContext

public class EBlockParallelTransferContext
extends java.lang.Object
implements TransferContext


Field Summary
protected  int eodsTotal
          if sending data, this is the total number of EODS we should send.
protected  int eodsTransferred
          if sending data, this is interpreted as the number of EODS sent.
static int UNDEFINED
           
 
Constructor Summary
EBlockParallelTransferContext()
           
 
Method Summary
 void eodTransferred()
           
 int getEodsTotal()
           
 int getEodsTransferred()
           
 boolean readyToQuit()
          return true if all EODS have been sent, or all EODS have been received.
 void setEodsTotal(int total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values

eodsTransferred

protected int eodsTransferred
if sending data, this is interpreted as the number of EODS sent. If receiving data, this is the number of EODS received.


eodsTotal

protected int eodsTotal
if sending data, this is the total number of EODS we should send. if receiving data, this is the total number of EODS we are expecting.

Constructor Detail

EBlockParallelTransferContext

public EBlockParallelTransferContext()
Method Detail

eodTransferred

public void eodTransferred()

getEodsTransferred

public int getEodsTransferred()

setEodsTotal

public void setEodsTotal(int total)

getEodsTotal

public int getEodsTotal()

readyToQuit

public boolean readyToQuit()
return true if all EODS have been sent, or all EODS have been received.

Specified by:
readyToQuit in interface TransferContext
Returns:
true if there are no more data channels associated with this transfer