(*args)
| 14 | clients = [] |
| 15 | |
| 16 | def _buildResp(*args): |
| 17 | result = "*" + str(len(args)) + "\r\n" |
| 18 | for v in args: |
| 19 | result = result + "$" + str(len(v)) + "\r\n" |
| 20 | result = result + v + "\r\n" |
| 21 | return result.encode('utf-8') |
| 22 | |
| 23 | class Client(asyncore.dispatcher): |
| 24 | def __init__(self, host, port): |
no outgoing calls
no test coverage detected