Class SimpleDataChannel

  • All Implemented Interfaces:
    DataChannel
    Direct Known Subclasses:
    GridFTPDataChannel

    public class SimpleDataChannel
    extends AbstractDataChannel
    Data channel receives in the constructor a socket that should be ready for communication, and starts a new thread that will perform the transfer.
    In previous version, the data channel would perform socket initialization (server.accept() etc.). This is now done by the facade's manager thread, so it can start several data channels.
    • Field Detail

      • logger

        protected static org.apache.commons.logging.Log logger
    • Constructor Detail

      • SimpleDataChannel

        public SimpleDataChannel​(Session session,
                                 SocketBox socketBox)
        Parameters:
        socketBox - should be opened and ready for comunication