xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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. More...
 
const char * mdata
 -> Metadata about response. More...
 
Resp_t rType
 

Member Enumeration Documentation

Enumerator
isNone 
isData 
isError 
isFile 
isStream 
isHandle 

Constructor & Destructor Documentation

XrdSsiRespInfo::XrdSsiRespInfo ( )
inline

References Init().

XrdSsiRespInfo::~XrdSsiRespInfo ( )
inline

Member Function Documentation

void XrdSsiRespInfo::Init ( )
inline

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

Referenced by XrdSsiRespInfo().

const char* XrdSsiRespInfo::State ( ) const
inline

Member Data Documentation

union { ... }
union { ... }
int XrdSsiRespInfo::blen

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

Referenced by Init().

const char* XrdSsiRespInfo::buff

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

const char* XrdSsiRespInfo::eMsg

->msg text when rType == isError

int XrdSsiRespInfo::eNum

errno When rType == isError

int XrdSsiRespInfo::fdnum

filedesc When rType == isFile

long long XrdSsiRespInfo::fsize

->file size when rType == isFile

Referenced by Init().

const char* XrdSsiRespInfo::mdata

-> Metadata about response.

Referenced by Init().

int XrdSsiRespInfo::mdlen

Metadata length.

Referenced by Init().

Resp_t XrdSsiRespInfo::rType

Referenced by Init(), and State().

XrdSsiStream* XrdSsiRespInfo::strmP

->SsiStream when rType == isStream


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