Class Nfs3ReadResponse
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
com.emc.ecs.nfsclient.nfs.NfsResponseBase
com.emc.ecs.nfsclient.nfs.NfsReadResponse
com.emc.ecs.nfsclient.nfs.nfs3.Nfs3ReadResponse
The response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
Procedure READ reads data from a file.
-
Field Summary
Fields inherited from class RpcResponse
_xid -
Constructor Summary
ConstructorsConstructorDescriptionNfs3ReadResponse(byte[] bytes, int position) Creates the response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Methods inherited from class NfsReadResponse
getBytes, getBytesRead, isEof, toString, unmarshallingMethods inherited from class NfsResponseBase
getAttributes, getFileHandle, getState, makeNfsGetAttributes, makeNfsGetAttributes, stateIsOk, unmarshallingAttributes, unmarshallingAttributes, unmarshallingFileHandle, unmarshallingFileHandleMethods inherited from class RpcResponse
getAcceptStatus, getDirection, getRejectStatus, getReplyStatus, getXid
-
Constructor Details
-
Nfs3ReadResponse
public Nfs3ReadResponse(byte[] bytes, int position) Creates the response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure READ reads data from a file.
- Parameters:
bytes- the buffer for storing bytesposition- the beginning position of buffer to store bytes
-