mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-11 23:53:04 +00:00
25 lines
524 B
Python
25 lines
524 B
Python
class Session:
|
|
def __init__(self, terminal):
|
|
self.terminal = terminal
|
|
|
|
def start(self):
|
|
raise NotImplementedError
|
|
|
|
def terminate(self):
|
|
raise NotImplementedError
|
|
|
|
def fileno(self):
|
|
raise NotImplementedError
|
|
|
|
def handle_host(self):
|
|
raise NotImplementedError
|
|
|
|
def handle_key(self, key, keyboard_modifiers, scan_code):
|
|
raise NotImplementedError
|
|
|
|
def render(self):
|
|
raise NotImplementedError
|
|
|
|
class SessionDisconnectedError(Exception):
|
|
pass
|