Rename method to handle_events
This commit is contained in:
parent
f5f3bfac5f
commit
110c8701e5
2 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,9 @@ class EventHandler():
|
||||||
"""
|
"""
|
||||||
self._handler_map = handler_map
|
self._handler_map = handler_map
|
||||||
|
|
||||||
def process_events(self, events):
|
def handle_events(self, events):
|
||||||
"""
|
"""
|
||||||
Process events by calling their handlers.
|
Handle events by calling their handlers.
|
||||||
|
|
||||||
:param events (list(dict(str:str))): the events to process
|
:param events (list(dict(str:str))): the events to process
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -12,7 +12,7 @@ def ros_process(events):
|
||||||
:return the processor object
|
:return the processor object
|
||||||
"""
|
"""
|
||||||
processor = RosProcessor()
|
processor = RosProcessor()
|
||||||
processor.process_events(events)
|
processor.handle_events(events)
|
||||||
return processor
|
return processor
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue