public abstract class AbstractXrootdInboundResponse extends Object implements XrootdInboundResponse
Supports incoming third-party source server reponses.
According to protocol, all responses must have the following packet structure:
| kXR_char | streamid[2] |
| kXR_unt16 | stat |
| kXR_int32 | dlen |
| kXR_char | data[dlen] |
| Modifier and Type | Field and Description |
|---|---|
protected int |
stat |
protected int |
streamId |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractXrootdInboundResponse(io.netty.buffer.ByteBuf buffer) |
protected |
AbstractXrootdInboundResponse(int streamId,
int stat) |
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
The xrootd response status code.
|
int |
getStreamId()
The xrootd stream identifier (client generated).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestIdprotected AbstractXrootdInboundResponse(int streamId,
int stat)
protected AbstractXrootdInboundResponse(io.netty.buffer.ByteBuf buffer)
public int getStatus()
XrootdInboundResponsegetStatus in interface XrootdInboundResponsepublic int getStreamId()
XrootdInboundResponsegetStreamId in interface XrootdInboundResponseCopyright © 2011–2018 dCache.org. All rights reserved.