def __make_server(self):
notice('<STR_LIT>', self.color)<EOL>self.mode = '<STR_LIT:s>'<EOL>sock = utils.get_server_sock()<EOL>self.__s = sock<EOL>with self.__client_list_lock:<EOL><INDENT>self.clients = deque()<EOL><DEDENT>self.threads = deque()<EOL>notice('<STR_LIT>', self.color)<EOL>b = Thread(target=self.__beacon_thread, name='<STR_LIT>')<EOL>b.start()<EOL>self.threads.append(b)<EOL>l = Thread(target=self.__listen_thread, name='<STR_LIT>')<EOL>notice('<STR_LIT>', self.color)<EOL>l.start()<EOL>self.threads.append(l)<EOL>
Make this node a server