'Send the notification.'

@rpc.if_notifications_enabled
def emit(self, context):

    assert self.payload.populated
    self.payload.obj_reset_changes(recursive=True)
    self._emit(context, event_type=self.event_type.to_notification_event_type_field(), publisher_id=('%s:%s' % (self.publisher.binary, self.publisher.host)), payload=self.payload.obj_to_primitive())
