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.
| Modifier and Type | Method and Description |
|---|---|
void |
fireDelayedSync(int result,
String error) |
void |
redirect(io.netty.channel.ChannelHandlerContext ctx,
InboundRedirectResponse response)
Needs to be implemented by the caller (outside the pipeline).
|
void |
write(InboundReadResponse response) |
void fireDelayedSync(int result,
String error)
void write(InboundReadResponse response) throws IOException
IOExceptionvoid 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.
XrootdExceptionCopyright © 2011–2018 dCache.org. All rights reserved.