예제 #1
0
 def __init__(self, poller, parent, sock, conf, chunk):
     logging.debug("chargen stream")
     Stream.__init__(self, poller, parent, sock, conf)
     self._buffer = b"A" * chunk
예제 #2
0
 def __init__(self, poller, parent, sock, conf):
     logging.debug("discard stream")
     Stream.__init__(self, poller, parent, sock, conf)
예제 #3
0
 def __init__(self, poller, parent, sock, conf):
     logging.debug("echo stream")
     Stream.__init__(self, poller, parent, sock, conf)
     self._buffer = deque()