XrdCms Namespace Reference
Classes |
struct | CmsRRHdr |
struct | CmsResponse |
struct | CmsAvailRequest |
struct | CmsChmodRequest |
struct | CmsDiscRequest |
struct | CmsGoneRequest |
struct | CmsHaveRequest |
struct | CmsLocateRequest |
struct | CmsLoginData |
struct | CmsLoginRequest |
struct | CmsLoginResponse |
struct | CmsLoadRequest |
struct | CmsMkdirRequest |
struct | CmsMkpathRequest |
struct | CmsMvRequest |
struct | CmsPingRequest |
struct | CmsPongRequest |
struct | CmsPrepAddRequest |
struct | CmsPrepDelRequest |
struct | CmsRmRequest |
struct | CmsRmdirRequest |
struct | CmsSelectRequest |
struct | CmsSpaceRequest |
struct | CmsStateRequest |
struct | CmsStatfsRequest |
struct | CmsStatsRequest |
struct | CmsStatusRequest |
struct | CmsTruncRequest |
struct | CmsTryRequest |
struct | CmsUpdateRequest |
struct | CmsUsageRequest |
class | SpaceData |
Enumerations |
enum | CmsReqCode {
kYR_login = 0,
kYR_chmod = 1,
kYR_locate = 2,
kYR_mkdir = 3,
kYR_mkpath = 4,
kYR_mv = 5,
kYR_prepadd = 6,
kYR_prepdel = 7,
kYR_rm = 8,
kYR_rmdir = 9,
kYR_select = 10,
kYR_stats = 11,
kYR_avail = 12,
kYR_disc = 13,
kYR_gone = 14,
kYR_have = 15,
kYR_load = 16,
kYR_ping = 17,
kYR_pong = 18,
kYR_space = 19,
kYR_state = 20,
kYR_statfs = 21,
kYR_status = 22,
kYR_trunc = 23,
kYR_try = 24,
kYR_update = 25,
kYR_usage = 26,
kYR_xauth = 27,
kYR_MaxReq
} |
enum | CmsFwdModifier { kYR_hopcount = 0xc0,
kYR_hopincr = 0x40
} |
enum | CmsReqModifier { kYR_raw = 0x20,
kYR_dnf = 0x10
} |
enum | CmsRspCode {
kYR_data = 0,
kYR_error = 1,
kYR_redirect = 2,
kYR_wait = 3,
kYR_waitresp = 4,
kYR_yauth = 5
} |
enum | YErrorCode {
kYR_ENOENT = 1,
kYR_EPERM,
kYR_EACCES,
kYR_EINVAL,
kYR_EIO,
kYR_ENOMEM,
kYR_ENOSPC,
kYR_ENAMETOOLONG,
kYR_ENETUNREACH,
kYR_ENOTBLK,
kYR_EISDIR,
kYR_FSError,
kYR_SrvError
} |
enum | { IsProxy = 1,
IsRedir = 2,
IsTarget = 4,
IsMeta = 8
} |
Functions |
XrdCmsClient * | GetDefaultClient (XrdSysLogger *Logger, int opMode, int myPort) |
Variables |
static const unsigned char | kYR_Version = 3 |
XrdCmsBaseFS | baseFS |
XrdCmsCache | Cache |
static const int | CMS_noStage = 1 |
static const int | CMS_Suspend = 2 |
static const int | CMS_Perm = 4 |
static const int | CMS_isMan = 8 |
static const int | CMS_Lost = 16 |
static const int | CMS_isPeer = 32 |
static const int | CMS_isProxy = 64 |
static const int | CMS_noSpace = 128 |
static const int | CMS_isSuper = 256 |
static const int | CMS_isVers3 = 0x01000000 |
static const int | CMS_notServ = CMS_isMan|CMS_isPeer|CMS_isSuper |
static const int | CMS_hasAlts = CMS_isMan|CMS_isPeer |
XrdCmsCluster | Cluster |
XrdCmsAdmin | Admin |
XrdCmsConfig | Config |
XrdScheduler * | Sched |
XrdCmsMeter | Meter |
XrdCmsParser | Parser |
XrdCmsPrepare | PrepQ |
XrdCmsRouter | Router |
XrdCmsRouting | manVOps |
XrdCmsRouting | rdrVOps |
XrdCmsRouting | rspVOps |
XrdCmsRouting | srvVOps |
XrdCmsRouting | supVOps |
XrdCmsRRQ | RRQ |
XrdCmsRTable | RTable |
XrdCmsState | CmsState |
XrdOucTrace | Trace |
XrdSysError | Say |
Detailed Description
The following instantiation mode flags are passed to the instantiator (see comments that follow). They may be or'd together, depending on which mode the cms client should operate. They are defined as follows:
extern "C" XrdCmsClient *XrdCmsGetClient(XrdSysLogger *Logger, int opMode, int myPort XrdOss *theSS); Obtain an instance of a default unconfigured XrdCmsClient.
The following function may be called to obtain an instance of the default XrdCmsClient object. The Configure() method is *not* called before the object is returned. The parameters are the same as those for the function XrdCmsGetClient(), above. Note that you need not supply a pointer to the underlying storage system, as this is historic in nature.
- Returns:
- Success: a pointer to the appropriate object (IsRedir or IsTarget).
Failure: a null pointer, neither ISRedir nor IsTarget has been specified or there is insufficient memory.
Enumeration Type Documentation
- Enumerator:
IsProxy |
The role is proxy {plus one or more of the below}.
|
IsRedir |
The role is manager and will redirect users.
|
IsTarget |
The role is server and will be a redirection target.
|
IsMeta |
The role is meta {plus one or more of the above}.
|
- Enumerator:
kYR_login |
|
kYR_chmod |
|
kYR_locate |
|
kYR_mkdir |
|
kYR_mkpath |
|
kYR_mv |
|
kYR_prepadd |
|
kYR_prepdel |
|
kYR_rm |
|
kYR_rmdir |
|
kYR_select |
|
kYR_stats |
|
kYR_avail |
|
kYR_disc |
|
kYR_gone |
|
kYR_have |
|
kYR_load |
|
kYR_ping |
|
kYR_pong |
|
kYR_space |
|
kYR_state |
|
kYR_statfs |
|
kYR_status |
|
kYR_trunc |
|
kYR_try |
|
kYR_update |
|
kYR_usage |
|
kYR_xauth |
|
kYR_MaxReq |
|
- Enumerator:
kYR_data |
|
kYR_error |
|
kYR_redirect |
|
kYR_wait |
|
kYR_waitresp |
|
kYR_yauth |
|
- Enumerator:
kYR_ENOENT |
|
kYR_EPERM |
|
kYR_EACCES |
|
kYR_EINVAL |
|
kYR_EIO |
|
kYR_ENOMEM |
|
kYR_ENOSPC |
|
kYR_ENAMETOOLONG |
|
kYR_ENETUNREACH |
|
kYR_ENOTBLK |
|
kYR_EISDIR |
|
kYR_FSError |
|
kYR_SrvError |
|
Function Documentation
Variable Documentation