def __init__(self, poller, parent, sock, conf, chunk): logging.debug("chargen stream") Stream.__init__(self, poller, parent, sock, conf) self._buffer = b"A" * chunk
def __init__(self, poller, parent, sock, conf): logging.debug("discard stream") Stream.__init__(self, poller, parent, sock, conf)
def __init__(self, poller, parent, sock, conf): logging.debug("echo stream") Stream.__init__(self, poller, parent, sock, conf) self._buffer = deque()