Package onep :: Package element :: Module SessionHandle :: Class SessionHandle
[frames] | no frames]

Class SessionHandle


SessionHandle represents a live session (connection) between a NetworkApplication and a single NetworkElement. It is the owner of session property settings and statistics.

Instance Methods
 
__init__(self, _id, ne, sessionConf)
Constructor
 
id(self)
 
equals(self, other)
Indicates whether another SessionHandle is "equal to" this one.
 
connectTime(self)
 
__str__(self)
str(x)

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

Properties

Inherited from object: __class__

Method Details

__init__(self, _id, ne, sessionConf)
(Constructor)

 

Constructor

Keyword argument: id -- ID of the session. ne sessionProf Session profile.

Overrides: object.__init__

id(self)

 
Decorators:
  • @property

equals(self, other)

 

Indicates whether another SessionHandle is "equal to" this one. Each
authenticated session is assigned a SessionHandle, and each SessionHandle
is assigned a unique ID (handle). The equals method for the SessionHandle
compares the unique ID of the self SessionHandle with the ID of the other
returned if the other is NULL, or if the unique ID of the other SessionHandle does

Keyword argument:
    other

Return;
    True if the IDs are the same; false otherwise.

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)