30 |
|
|
31 |
class geasSessionManager: |
class geasSessionManager: |
32 |
|
|
33 |
def __init__(self): |
def __init__ (self, connections): |
34 |
self._sessNo=0 |
self._connections = connections |
35 |
self._sessions={} |
self._sessNo = 0 |
36 |
|
self._sessions = {} |
37 |
# use DB for authetification |
# use DB for authetification |
38 |
self._authAdapter=geasAuthentification.geasDBAuthAgent() |
self._authAdapter = geasAuthentification.geasDBAuthAgent() |
|
|
|
|
def setConnections(self,connections): |
|
|
self._connections=connections |
|
|
|
|
39 |
|
|
40 |
def _getSession(self,sess_id): |
def _getSession(self,sess_id): |
41 |
try: |
try: |