Class PassiveConnectTask

  • Direct Known Subclasses:
    GridFTPPassiveConnectTask

    public class PassiveConnectTask
    extends Task
    This task will wait on the local server for the new incoming connection and when it comes it will start a new transfer thread on the new connection. It is little tricky: it will cause data channel to start a new thread. By the time this task completes, the new thread is running the transfer. Any resulting exceptions are piped to the local control channel.