ActiveConnectTask (Java Globus API)

org.globus.ftp.dc
Class ActiveConnectTask

java.lang.Object
  |
  +--org.globus.ftp.dc.Task
        |
        +--org.globus.ftp.dc.ActiveConnectTask
Direct Known Subclasses:
GridFTPActiveConnectTask

public class ActiveConnectTask
extends Task

This task wil initialize SocketBox's socket by connecting to the remote server. Any resulting exceptions are piped to the local control channel.


Field Summary
protected  SocketBox box
           
protected  BasicServerControlChannel control
           
protected  HostPort hostPort
           
 
Fields inherited from class org.globus.ftp.dc.Task
complete, exception
 
Constructor Summary
ActiveConnectTask(HostPort hostPort, BasicServerControlChannel control, SocketBox box)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.globus.ftp.dc.Task
setComplete, stop, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hostPort

protected HostPort hostPort

control

protected BasicServerControlChannel control

box

protected SocketBox box
Constructor Detail

ActiveConnectTask

public ActiveConnectTask(HostPort hostPort,
                         BasicServerControlChannel control,
                         SocketBox box)
Method Detail

execute

public void execute()
Specified by:
execute in class Task