public class OutboundProtocolRequest extends Object implements XrootdOutboundRequest
The kXR_protocol request has the following packet structure:
| kXR_char | streamid[2] |
| kXR_unt16 | kXR_protocol |
| kXR_int32 | clientpv |
| kXR_char | reserved[11] |
| kXR_char | options |
| kXR_int32 | dlen |
| Constructor and Description |
|---|
OutboundProtocolRequest(int streamId,
int version) |
| Modifier and Type | Method and Description |
|---|---|
int |
getStreamId() |
void |
writeTo(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
Marshals this request object into a buffer and writes
it to the context.
|
public OutboundProtocolRequest(int streamId,
int version)
public int getStreamId()
getStreamId in interface XrootdOutboundRequestpublic void writeTo(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
XrootdOutboundRequestMarshals this request object into a buffer and writes it to the context.
writeTo in interface XrootdOutboundRequestCopyright © 2011–2018 dCache.org. All rights reserved.