hep: go-hep.org/x/hep/xrootd/xrdproto/bind Index | Files

package bind

import "go-hep.org/x/hep/xrootd/xrdproto/bind"

Package bind contains the structures describing bind request and response.

Index

Package Files

bind.go

Constants

const RequestID uint16 = 3024

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.

type Request Uses

type Request struct {
    SessionID [16]byte // SessionID is the session identifier returned by login request.
    // contains filtered or unexported fields
}

Request holds the bind request parameters.

func (Request) MarshalXrd Uses

func (o Request) MarshalXrd(wBuffer *xrdenc.WBuffer) error

MarshalXrd implements xrdproto.Marshaler.

func (*Request) ReqID Uses

func (req *Request) ReqID() uint16

ReqID implements xrdproto.Request.ReqID.

func (*Request) ShouldSign Uses

func (req *Request) ShouldSign() bool

ShouldSign implements xrdproto.Request.ShouldSign.

func (*Request) UnmarshalXrd Uses

func (o *Request) UnmarshalXrd(rBuffer *xrdenc.RBuffer) error

UnmarshalXrd implements xrdproto.Unmarshaler.

type Response Uses

type Response struct {
    PathID xrdproto.PathID
}

Response is a response for the bind request, which contains the path id.

func (Response) MarshalXrd Uses

func (o Response) MarshalXrd(wBuffer *xrdenc.WBuffer) error

MarshalXrd implements xrdproto.Marshaler.

func (*Response) RespID Uses

func (resp *Response) RespID() uint16

RespID implements xrdproto.Response.RespID.

func (*Response) UnmarshalXrd Uses

func (o *Response) UnmarshalXrd(rBuffer *xrdenc.RBuffer) error

UnmarshalXrd implements xrdproto.Unmarshaler.

Package bind imports 2 packages (graph) and is imported by 1 packages. Updated 2019-05-17. Refresh now. Tools for package owners.