示例#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()