(self, event, ipc_event, channel=None)
Send event to a child/parentprocess

        Event handler to run an event on a child/parent process
        (the event definition is :class:`circuits.core.bridge.ipc`)

        :param event:    The event triggered (by the handler)
        :type event:     :class:`circuits.node.events.remote`

        :param ipc_event:    Event to execute in child/parent process.
        :type ipc_event:     :class:`circuits.core.events.Event`

        :param channel:    Remote channel (channel to use on peer).
        :type channel:     str

        :return: The result of remote event
        :rtype: generator

        :Example:
        ``# hello is your event to execute in the child process
        result = yield self.fire(ipc(hello()))
        print(result.value)``
Send event to a child/parentprocess
Send event to a child / parentprocess
def _on_ipc(self, event, ipc_event, channel=None):
        """Send event to a child/parentprocess

        Event handler to run an event on a child/parent process
        (the event definition is :class:`circuits.core.bridge.ipc`)

        :param event:    The event triggered (by the handler)
        :type event:     :class:`circuits.node.events.remote`

        :param ipc_event:    Event to execute in child/parent process.
        :type ipc_event:     :class:`circuits.core.events.Event`

        :param channel:    Remote channel (channel to use on peer).
        :type channel:     str

        :return: The result of remote event
        :rtype: generator

        :Example:
        ``# hello is your event to execute in the child process
        result = yield self.fire(ipc(hello()))
        print(result.value)``
        """

        ipc_event.channels = (channel,) if channel is not None else event.channels
        event.value.value = ipc_event.value = Value(ipc_event, self)

        eid = hash(ipc_event)
        self.__send(eid, ipc_event)
        yield self.wait(Bridge.__waiting_event(eid))
def _on_ipc ( self , event , ipc_event , channel = None ) : ipc_event . channels = ( channel , ) if channel is not None else event . channels event . value . value = ipc_event . value = Value ( ipc_event , self ) eid = hash ( ipc_event ) self . __send ( eid , ipc_event ) yield self . wait ( Bridge . __waiting_event ( eid ) )