def __init__(self, encoding=None, config=jsonrpclib.config.DEFAULT):
"""
Sets up the dispatcher with the given encoding.
None values are allowed.
"""
xmlrpcserver.SimpleXMLRPCDispatcher.__init__(
self, allow_none=True, encoding=encoding or "UTF-8")
self.json_config = config
# Notification thread pool
self.__notification_pool = None
评论列表
文章目录