Package org.dcache.xrootd.tpc
Interface TpcDelayedSyncWriteHandler
-
public interface TpcDelayedSyncWriteHandlerDefines 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfireDelayedSync(int result, java.lang.String error)voidredirect(io.netty.channel.ChannelHandlerContext ctx, InboundRedirectResponse response)Needs to be implemented by the caller (outside the pipeline).voidwrite(InboundReadResponse response)
-
-
-
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 XrootdExceptionNeeds 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
-
-