org.globus.cog.abstraction.impl.common.task
Class CachingFileTransferTaskHandler

java.lang.Object
  extended byorg.globus.cog.abstraction.impl.common.task.FileTransferTaskHandler
      extended byorg.globus.cog.abstraction.impl.common.task.CachingFileTransferTaskHandler
All Implemented Interfaces:
StatusListener, TaskHandler

public class CachingFileTransferTaskHandler
extends FileTransferTaskHandler


Field Summary
 
Fields inherited from interface org.globus.cog.abstraction.interfaces.TaskHandler
EXECUTION, FILE_OPERATION, FILE_TRANSFER, GENERIC
 
Constructor Summary
CachingFileTransferTaskHandler()
           
 
Method Summary
 void submit(Task task)
          Submits the given Taskfor execuiton.
 
Methods inherited from class org.globus.cog.abstraction.impl.common.task.FileTransferTaskHandler
cancel, getActiveTasks, getAllTasks, getCanceledTasks, getCompletedTasks, getFailedTasks, getHandleMap, getResumedTasks, getSuspendedTasks, getType, remove, resume, setType, statusChanged, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingFileTransferTaskHandler

public CachingFileTransferTaskHandler()
Method Detail

submit

public void submit(Task task)
            throws IllegalSpecException,
                   InvalidSecurityContextException,
                   InvalidServiceContactException,
                   TaskSubmissionException
Description copied from interface: TaskHandler
Submits the given Taskfor execuiton. The Task is submitted to the TaskHandler in an asynchronous mode, whereby the method returns immediately after submitting the task to the remote machine. The status and output of the task can be monitored asynchronously by the ExecutableObject.addStatusListener(StatusListener)and Task.addOutputListener(OutputListener)methods respectively.

Specified by:
submit in interface TaskHandler
Overrides:
submit in class FileTransferTaskHandler
Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException