Module EDSession :: Class EDSession
[hide private]
[frames] | no frames]

Class EDSession

source code

       object --+    
                |    
EDObject.EDObject --+
                    |
                   EDSession

keep track on a temporary zone writable (/buffer at ESRF, /scratch elsewhere, ...)

Instance Methods [hide private]

Inherited from EDObject.EDObject: __init__, getClassName, getId, getRunTime, getSemaphoreValue, getTimeEnd, getTimeInit, locked, setTimeEnd, setTimeInit, synchronizeOff, synchronizeOn

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
getSessionId(cls)
getter for session ID
source code
 
setSessionId(cls, idSession)
setter for session ID.
source code
Class Variables [hide private]
  _sessionId = None
hash(x)
Properties [hide private]
  sessionId
classmethod(function) -> method

Inherited from object: __class__

Method Details [hide private]

setSessionId(cls, idSession)
Class Method

source code 

setter for session ID. Only valid if not yet set !!!!


Property Details [hide private]

sessionId

classmethod(function) -> method

Convert a function to be a class method.

A class method receives the class as implicit first argument,
just like an instance method receives the instance.
To declare a class method, use this idiom:

  class C:
      def f(cls, arg1, arg2, ...): ...
      f = classmethod(f)

It can be called either on the class (e.g. C.f()) or on an instance
(e.g. C().f()).  The instance is ignored except for its class.
If a class method is called for a derived class, the derived class
object is passed as the implied first argument.

Class methods are different than C++ or Java static methods.
If you want those, see the staticmethod builtin.

Get Method:
getSessionId(cls) - getter for session ID
Set Method:
setSessionId(cls, idSession) - setter for session ID.