def __init__(self, xp_name=None, event_type=None, origin=None, queue_name=None, callback=None, sub_type=None, origin_type=None, process=None, routing_call=None, auto_delete=None, *args, **kwargs): BaseEventSubscriberMixin.__init__(self, event_type=event_type, sub_type=sub_type, origin=origin, origin_type=origin_type, xp_name=xp_name, queue_name=queue_name, auto_delete=auto_delete) log.debug("ProcessEventSubscriber events pattern %s", self.binding) ProcessSubscriber.__init__(self, from_name=self._ev_recv_name, binding=self.binding, callback=callback, process=process, routing_call=routing_call, auto_delete=self._auto_delete, **kwargs)
def __init__(self, xp_name=None, event_type=None, origin=None, queue_name=None, callback=None, sub_type=None, origin_type=None, process=None, routing_call=None, auto_delete=None, *args, **kwargs): self._auto_delete = auto_delete BaseEventSubscriberMixin.__init__(self, xp_name=xp_name, event_type=event_type, origin=origin, queue_name=queue_name, sub_type=sub_type, origin_type=origin_type) log.debug("ProcessEventSubscriber events pattern %s", self.binding) ProcessSubscriber.__init__(self, from_name=self._ev_recv_name, binding=self.binding, callback=callback, process=process, routing_call=routing_call, **kwargs)
def __init__(self, exchange_manager, privileged_transport, node, name, xp, event_type=None, origin=None, sub_type=None, origin_type=None, pattern=None, auto_delete=None): # xp goes to xs param ExchangeName.__init__(self, exchange_manager, privileged_transport, node, name, xp, auto_delete=auto_delete) self._queue = name if not pattern: from pyon.ion.event import BaseEventSubscriberMixin self._binding = BaseEventSubscriberMixin._topic( event_type, origin, sub_type=sub_type, origin_type=origin_type) else: self._binding = pattern
def __init__( self, exchange_manager, privileged_transport, node, name, xp, event_type=None, origin=None, sub_type=None, origin_type=None, pattern=None, ): ExchangeName.__init__(self, exchange_manager, privileged_transport, node, name, xp) # xp goes to xs param self._queue = name if not pattern: from pyon.ion.event import BaseEventSubscriberMixin self._binding = BaseEventSubscriberMixin._topic( event_type, origin, sub_type=sub_type, origin_type=origin_type ) else: self._binding = pattern