package bind
import "go-hep.org/x/hep/xrootd/xrdproto/bind"
Package bind contains the structures describing bind request and response.
Index ¶
- Constants
- type Request
- func (o Request) MarshalXrd(wBuffer *xrdenc.WBuffer) error
- func (req *Request) ReqID() uint16
- func (req *Request) ShouldSign() bool
- func (o *Request) UnmarshalXrd(rBuffer *xrdenc.RBuffer) error
- type Response
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.
Types ¶
type Request ¶
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 ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Request) ReqID ¶
ReqID implements xrdproto.Request.ReqID.
func (*Request) ShouldSign ¶
ShouldSign implements xrdproto.Request.ShouldSign.
func (*Request) UnmarshalXrd ¶
UnmarshalXrd implements xrdproto.Unmarshaler.
type Response ¶
Response is a response for the bind request, which contains the path id.
func (Response) MarshalXrd ¶
MarshalXrd implements xrdproto.Marshaler.
func (*Response) RespID ¶
RespID implements xrdproto.Response.RespID.
func (*Response) UnmarshalXrd ¶
UnmarshalXrd implements xrdproto.Unmarshaler.
Source Files ¶
bind.go
- Version
- v0.36.0 (latest)
- Published
- Nov 15, 2024
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 4 days ago –
Tools for package owners.