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
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
class UserId(prot: bytes, user: bytes, pid: int, sid: int, host: bytes)

Bases: object

userid/* describing the user performing an action

classmethod from_buffer(buffer: bytes)
host
pid
prot
sid
user
class XfrInfo(lfn: bytes, tod: int, sz: int, tm: int, op: str, rc: int, pd: bytes)

Bases: object

*/xfrinfo` describing the transfer of a file

classmethod from_buffer(buffer: bytes)
lfn
op
pd
rc
sz
tm
tod