session Package¶
session
Package¶
Base stuff for XAL sessions.
-
class
xal.session.
Session
(registry=None)¶ Bases:
object
Base class for XAL sessions.
A XAL session routes execution requests to providers. It uses a registry to map providers to its members, and optionally a client to transport requests to the system.
-
is_local
¶ Return True if session is on local system, i.e. False if remote.
-
registry
= None¶ Mapping between identifiers and actual provider instances.
The registry itself if a special kind of provider. Every client should have at least one provider identified by “registry”.
-
local
Module¶
Local XAL sessions.
-
class
xal.session.local.
LocalSession
(**kwargs)¶ Bases:
xal.session.Session
A session on local machine.
-
is_local
= True¶ LocalSession is related to local machine.
-