pipe-io-server/pipe_io_server/pipe_io_server.py

18 lines
566 B
Python
Raw Normal View History

from .pipe import DEFAULT_PERMISSIONS
from .pipe_reader_server import PipeReaderServer
from .pipe_writer_server import PipeWriterServer
class PipeIOServer(PipeReaderServer, PipeWriterServer):
# pylint: disable=abstract-method
def __init__(self, in_pipe, out_pipe, permissions=DEFAULT_PERMISSIONS):
super().__init__(
in_pipe=in_pipe,
out_pipe=out_pipe,
permissions=permissions
)
2019-06-23 16:40:06 +00:00
def _init_io_thread(self):
PipeReaderServer._init_io_thread(self)
PipeWriterServer._init_io_thread(self)