def set_handlers(self,priority=<NUM_LIT:10>):
self.stream.set_message_handler("<STR_LIT>",self.__groupchat_message,None,priority)<EOL>self.stream.set_message_handler("<STR_LIT:error>",self.__error_message,None,priority)<EOL>self.stream.set_presence_handler("<STR_LIT>",self.__presence_available,None,priority)<EOL>self.stream.set_presence_handler("<STR_LIT>",self.__presence_unavailable,None,priority)<EOL>self.stream.set_presence_handler("<STR_LIT:error>",self.__presence_error,None,priority)<EOL>
Assign MUC stanza handlers to the `self.stream`.

:Parameters:
    - `priority`: priority for the handlers.
:Types:
    - `priority`: `int`