Lines Matching defs:self
55 def run_forever(self): argument
66 def new_client(self, client, server): argument
69 def client_left(self, client, server): argument
72 def message_received(self, client, server, message): argument
75 def set_fn_new_client(self, fn): argument
78 def set_fn_client_left(self, fn): argument
81 def set_fn_message_received(self, fn): argument
84 def send_message(self, client, msg): argument
87 def send_message_to_all(self, msg): argument
121 def __init__(self, port, host='127.0.0.1', loglevel=logging.WARNING): argument
126 def _message_received_(self, handler, msg): argument
129 def _ping_received_(self, handler, msg): argument
132 def _pong_received_(self, handler, msg): argument
135 def _new_client_(self, handler): argument
145 def _client_left_(self, handler): argument
151 def _unicast_(self, to_client, msg): argument
154 def _multicast_(self, msg): argument
158 def handler_to_client(self, handler): argument
166 def __init__(self, socket, addr, server): argument
170 def setup(self): argument
176 def handle(self): argument
183 def read_bytes(self, num): argument
191 def read_next_message(self): argument
245 def send_message(self, message): argument
248 def send_pong(self, message): argument
251 def send_text(self, message, opcode=OPCODE_TEXT): argument
298 def read_http_headers(self): argument
312 def handshake(self): argument
349 def finish(self): argument