aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/vk/tracking/db/backend/null.py
blob: 6454f84a86c54c2f89f0d5d3a872525f544515d4 (plain) (tree)
1
2
3
4



                                                             

































                                      
# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
# 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 collections.abc import Iterable

class Writer:
    def __init__(self, fd):
        pass

    def __enter__(self):
        return self

    def __exit__(self, *args):
        pass

    def on_initial_status(self, user):
        pass

    def on_status_update(self, user):
        pass

    def on_connection_error(self, e):
        pass

class Reader(Iterable):
    def __init__(self, fd):
        pass

    def __enter__(self):
        return self

    def __exit__(self, *args):
        pass

    def __iter__(self):
        pass