Package ccm :: Class Session |
[hide private]
[frames] | no frames]

# Class Session

source code

         object --+
                  |
    AbstractSession --+
                      |
                     Session

A Synergy session.

Instance Methods | [hide private]
__init__(self, username, engine, dbpath, ccm_addr, close_on_exit=True) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
execute(self, cmdline, result=None) Executes a Synergy CLI operation. | source code
close(self) Closes this Synergy session if it was not previously running anyway. | source code
Inherited from `AbstractSession`: `__del__`, `__repr__`, `__str__`, `addr`, `create`, `database`, `get_workarea_info`, `purposes` Inherited from `AbstractSession` (private): `_get_home`, `_get_role`, `_set_home`, `_set_role`, `_set_role_internal` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Static Methods | [hide private]
start(username, password, engine, dbpath, timeout=300) | source code

Class Variables | [hide private]
Inherited from `AbstractSession`: `home`, `role`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, username, engine, dbpath, ccm_addr, close_on_exit=True) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: AbstractSession.__init__

### execute(self, cmdline, result=None) | source code
Executes a Synergy CLI operation. Overrides: AbstractSession.execute

### close(self) | source code
Closes this Synergy session if it was not previously running anyway. Overrides: AbstractSession.close