# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

import kaitaistruct
from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO
from enum import Enum


if getattr(kaitaistruct, 'API_VERSION', (0, 9)) < (0, 9):
    raise Exception("Incompatible Kaitai Struct Python API: 0.9 or later is required, but you have %s" % (kaitaistruct.__version__))

class Defination(KaitaiStruct):

    class Pipeline(Enum):
        default = 8056

    class Rpc(Enum):
        default = 8055

    class Tunnel(Enum):
        vnc = 5900

    class Http(Enum):
        lighttpd = 80
        downstream = 6670
        entrypoint = 6680
        pouchdb = 6681
    def __init__(self, _io, _parent=None, _root=None):
        self._io = _io
        self._parent = _parent
        self._root = _root if _root else self
        self._read()

    def _read(self):
        pass


