Lines Matching refs:constants
34 from . import constants
39 code = sock.connect_ex(("localhost", constants.CLIENT_PORT))
42 compression.Send(constants.END_OF_STREAM, sock)
61 if action == constants.REQUEST_PEERS:
67 elif action == constants.UNRESPONSIVE_PEER:
70 elif action == constants.REQUEST_PUBKEY_FINGERPRINT:
74 elif action == constants.REQUEST_STATUS:
77 elif action == constants.ADD_TRUSTED:
81 elif action == constants.INFORM_DURATION:
88 elif action == constants.UPDATE_PERF:
94 compression.Send(constants.END_OF_STREAM, self.request)
117 SocketServer.TCPServer.__init__(self, ("localhost", constants.CLIENT_PORT),