Interface TpcDelayedSyncWriteHandler


  • public interface TpcDelayedSyncWriteHandler
    Defines the two tasks involved in third-party destination transfers: writing the bytes read by the client, and notifying the originating (user) client when the transfer succeeds or fails, via an asynchronous response to a sync request.

    • Method Detail

      • fireDelayedSync

        void fireDelayedSync​(int result,
                             java.lang.String error)
      • write

        void write​(InboundReadResponse response)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • redirect

        void redirect​(io.netty.channel.ChannelHandlerContext ctx,
                      InboundRedirectResponse response)
               throws XrootdException
        Needs to be implemented by the caller (outside the pipeline). The client may as a consequence need to be discarded and a new one constructed with the new contact string.

        Throws:
        XrootdException