xrootdlib.structs.XrdXrootdMon.map module¶
Contents of the XrdXrootdMonMap struct
Each struct contains a userid/npayload
info field.
The userid
is always represented by UserId
,
while the payload
can be any of the types of MapPayload
.
Each class is capable of parsing its respective portion of the info field.
That is, it expects a buffer (a bytes
, bytesarray
or memoryview
)
starting with the XrdXrootdMonMap
info;
trailing buffer content is allowed and the buffer is never modified.
-
class
AppInfo
(appinfo: bytes)¶ Bases:
object
*/appinfo
containing un-interpreted application supplied information-
appinfo
¶
-
classmethod
from_buffer
(buffer: bytes)¶
-
-
class
AuthInfo
(protocol: bytes, name: bytes, host: bytes, organisation: bytes, role: bytes, group: bytes, m: bytes, executable: bytes, moninfo: bytes)¶ Bases:
object
*/authinfo
describing an authenticating user-
executable
¶
-
classmethod
from_buffer
(buffer: bytes)¶
-
g
¶
-
group
¶
-
h
¶
-
host
¶
-
m
¶
-
moninfo
¶
-
n
¶
-
name
¶
-
o
¶
-
organisation
¶
-
p
¶
-
protocol
¶
-
r
¶
-
role
¶
-
x
¶
-
y
¶
-
-
class
Path
(path: bytes)¶ Bases:
object
*/path
containing full path name of a file being opened-
classmethod
from_buffer
(buffer: bytes)¶
-
path
¶
-
classmethod
-
class
PrgInfo
(xfn: bytes, tod: int, sz: int, at: int, ct: int, mt: int, fn: bytes)¶ Bases:
object
*/prginfo
describing the purging of a file-
at
¶
-
ct
¶
-
fn
¶
-
classmethod
from_buffer
(buffer: bytes)¶
-
mt
¶
-
sz
¶
-
tod
¶
-
xfn
¶
-
-
class
SrvInfo
(pgm: bytes, ver: bytes, inst: bytes, port: int, site: bytes)¶ Bases:
object
*/srvinfo
describing the xrootd instance sending reports-
classmethod
from_buffer
(buffer: bytes)¶
-
inst
¶
-
pgm
¶
-
port
¶
-
site
¶
-
ver
¶
-
classmethod