xrootd
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
XrdSsiRespInfo Struct Reference

#include <XrdSsiRespInfo.hh>

Collaboration diagram for XrdSsiRespInfo:
Collaboration graph
[legend]

Public Types

enum  Resp_t {
  isNone = 0 , isData , isError , isFile ,
  isStream , isHandle
}
 

Public Member Functions

void Init ()
 
const char * State () const
 
 XrdSsiRespInfo ()
 
 ~XrdSsiRespInfo ()
 

Public Attributes

union { 
 
   const char *   buff 
 
   const char *   eMsg 
 ->msg text when rType == isError More...
 
   long long   fsize 
 ->file size when rType == isFile More...
 
   XrdSsiStream *   strmP 
 ->SsiStream when rType == isStream More...
 
};  
 
union { 
 
   int   blen 
 
   int   eNum 
 errno When rType == isError More...
 
   int   fdnum 
 filedesc When rType == isFile More...
 
};  
 
int mdlen
 Metadata length.
 
const char * mdata
 -> Metadata about response.
 
Resp_t rType
 

Member Enumeration Documentation

◆ Resp_t

Enumerator
isNone 
isData 
isError 
isFile 
isStream 
isHandle 

Constructor & Destructor Documentation

◆ XrdSsiRespInfo()

XrdSsiRespInfo::XrdSsiRespInfo ( )
inline

References Init().

◆ ~XrdSsiRespInfo()

XrdSsiRespInfo::~XrdSsiRespInfo ( )
inline

Member Function Documentation

◆ Init()

void XrdSsiRespInfo::Init ( )
inline

References blen, fsize, isNone, mdata, mdlen, and rType.

Referenced by XrdSsiRespInfo().

◆ State()

const char * XrdSsiRespInfo::State ( ) const
inline

Member Data Documentation

◆ [union]

union { ... } XrdSsiRespInfo

◆ [union]

union { ... } XrdSsiRespInfo

◆ blen

int XrdSsiRespInfo::blen

buffer len When rType == isData buffer len When rType == isHandle

Referenced by Init().

◆ buff

const char* XrdSsiRespInfo::buff

->buffer when rType == isData ->buffer when rType == isHandle

◆ eMsg

const char* XrdSsiRespInfo::eMsg

->msg text when rType == isError

◆ eNum

int XrdSsiRespInfo::eNum

errno When rType == isError

◆ fdnum

int XrdSsiRespInfo::fdnum

filedesc When rType == isFile

◆ fsize

long long XrdSsiRespInfo::fsize

->file size when rType == isFile

Referenced by Init().

◆ mdata

const char* XrdSsiRespInfo::mdata

-> Metadata about response.

Referenced by Init().

◆ mdlen

int XrdSsiRespInfo::mdlen

Metadata length.

Referenced by Init().

◆ rType

Resp_t XrdSsiRespInfo::rType

Referenced by Init(), and State().

◆ strmP

XrdSsiStream* XrdSsiRespInfo::strmP

->SsiStream when rType == isStream


The documentation for this struct was generated from the following file: