public class OpenResponse extends AbstractXrootdResponse<OpenRequest>
request, stat| Constructor and Description |
|---|
OpenResponse(OpenRequest request,
int fileHandle,
Integer cpsize,
String cptype,
FileStatus fs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
getBytes(io.netty.buffer.ByteBuf buffer) |
int |
getDataLength()
Returns the length of the response body.
|
int |
getFileHandle() |
FileStatus |
getFileStatus() |
String |
toString() |
getRequest, getStatus, writeTopublic OpenResponse(OpenRequest request, int fileHandle, Integer cpsize, String cptype, FileStatus fs)
public int getFileHandle()
public FileStatus getFileStatus()
public int getDataLength()
XrootdResponsegetDataLength in interface XrootdResponse<OpenRequest>getDataLength in class AbstractXrootdResponse<OpenRequest>protected void getBytes(io.netty.buffer.ByteBuf buffer)
getBytes in class AbstractXrootdResponse<OpenRequest>Copyright © 2011–2018 dCache.org. All rights reserved.