summaryrefslogtreecommitdiffstatshomepage
path: root/vk/tracking/db/backend/null.py
blob: 5c49ccb257f26b951d8039d07096bcf61dad7b38 (plain) (blame)
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
# Copyright (c) 2016 Egor Tensin <egor@tensin.name>
# This file is part of the "VK scripts" project.
# For details, see https://github.com/egor-tensin/vk-scripts
# Distributed under the MIT License.

from .. import meta


class Writer(meta.Writer):
    def __init__(self):
        pass

    def on_initial_status(self, user):
        pass

    def on_status_update(self, user):
        pass

    def on_connection_error(self, e):
        pass


class Reader(meta.Reader):
    def __init__(self):
        pass

    def __iter__(self):
        return iter(())