xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdCms
XrdCmsTalk.hh
Go to the documentation of this file.
1
#ifndef _CMS_TALK_H
2
#define _CMS_TALK_H
3
/******************************************************************************/
4
/* */
5
/* X r d C m s T a l k . h h */
6
/* */
7
/* (c) 2007 by the Board of Trustees of the Leland Stanford, Jr., University */
8
/* All Rights Reserved */
9
/* Produced by Andrew Hanushevsky for Stanford University under contract */
10
/* DE-AC02-76-SFO0515 with the Department of Energy */
11
/******************************************************************************/
12
13
// $Id$
14
15
#include "
XProtocol/YProtocol.hh
"
16
17
class
XrdLink
;
18
19
class
XrdCmsTalk
20
{
21
public
:
22
23
static
const
char
*
Attend
(
XrdLink
*Link,
XrdCms::CmsRRHdr
&Hdr,
24
char
*buff,
int
blen,
25
int
&rlen,
int
tmo=5000);
26
27
static
int
Complain
(
XrdLink
*Link,
int
ecode,
const
char
*msg);
28
29
static
const
char
*
Request
(
XrdLink
*Link,
XrdCms::CmsRRHdr
&Hdr,
30
char
*buff,
int
blen);
31
32
static
const
char
*
Respond
(
XrdLink
*Link,
XrdCms::CmsRspCode
rcode,
33
char
*buff,
int
blen);
34
35
XrdCmsTalk
() {}
36
~XrdCmsTalk
() {}
37
38
};
39
#endif
Generated by
1.8.1.2