This repository has been archived on 2024-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-03/src/mock/network.py

23 lines
380 B
Python
Raw Normal View History

# pylint: disable=too-few-public-methods
"""
Mock Network
"""
class objectracker(object):
"""Mock object tracker"""
2022-09-19 18:04:34 +02:00
missingObjects = {}
class stats(object):
"""Mock network statics"""
2022-09-19 18:04:34 +02:00
@staticmethod
def connectedHostsList():
2022-09-19 18:04:34 +02:00
"""List of all the mock connected hosts"""
return [
"conn1", "conn2", "conn3", "conn4"
]