def __init__(self, handler, middleware=None):
    '\n        Create a new Processor.\n\n        Args:\n            handler: Iface\n        '
    if (middleware and (not isinstance(middleware, list))):
        middleware = [middleware]
    super(Processor, self).__init__(handler, middleware=middleware)
    self.add_to_processor_map('ping', _ping(Method(handler.ping, middleware), self.get_write_lock()))
Create a new Processor.

Args:
    handler: Iface
def __init__(self, handler, middleware=None):
    '\n        Create a new Processor.\n\n        Args:\n            handler: Iface\n        '
    if (middleware and (not isinstance(middleware, list))):
        middleware = [middleware]
    super(Processor, self).__init__(handler, middleware=middleware)
    self.add_to_processor_map('ping', _ping(Method(handler.ping, middleware), self.get_write_lock()))