Documentation ¶
Overview ¶
Package write contains the structures describing write request. See xrootd protocol specification (http://xrootd.org/doc/dev45/XRdv310.pdf, p. 124) for details.
Index ¶
- Constants
- type Request
- func (o *Request) Direction() xrdproto.DataRequestDirection
- func (req Request) MarshalXrd(wBuffer *xrdenc.WBuffer) error
- func (o *Request) PathData() []byte
- func (o *Request) PathID() xrdproto.PathID
- func (req *Request) ReqID() uint16
- func (o *Request) SetPathID(pathID xrdproto.PathID)
- func (req *Request) ShouldSign() bool
- func (req *Request) UnmarshalXrd(rBuffer *xrdenc.RBuffer) error
Constants ¶
View Source
const RequestID uint16 = 3019
RequestID is the id of the request, it is sent as part of message. See xrootd protocol specification for details: http://xrootd.org/doc/dev45/XRdv310.pdf, 2.3 Client Request Format.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Handle xrdfs.FileHandle Offset int64 Data []uint8 // contains filtered or unexported fields }
Request holds write request parameters.
func (*Request) Direction ¶
func (o *Request) Direction() xrdproto.DataRequestDirection
PathID implements xrdproto.DataRequest.Direction.
func (Request) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.
Click to show internal directories.
Click to hide internal directories.