File: manager.py

package info (click to toggle)
timekpr-next 0.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,440 kB
  • sloc: python: 7,938; sh: 98; xml: 39; makefile: 6
file content (39 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
"""
Created on Aug 28, 2018

@author: mjasnik
"""

# connection with ck
class timekprUserLoginManager(object):
    """Class enables the connection with ConsoleKit"""

    def __init__(self):
        """Initialize all stuff for consolekit"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def getUserList(self, pSilent=False):
        """Go through a list of logged in users"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def getUserSessionList(self, pUserName, pUserPath):
        """Get up-to-date user session list"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def determineLoginManagerVT(self, pUserName, pUserPath):
        """Get login manager session VTNr"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def switchTTY(self, pSeatId, pSessionTTY):
        """Swith TTY for login screen"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")

    def terminateUserSessions(self, pUserName, pUserPath, pTimekprConfig):
        """Terminate user sessions"""
        # NOT IMPLEMENTED
        raise NotImplementedError("ConsoleKit support is not implemented")