def remote_trigger_pull(remote_addr, trg_queue, ignore_listener=False,
                        protocol=u'jsonrpc'):
    '''Write a non-blocking byte to a remote trigger fifo, to cause a triggered
       scan'''
    if protocol == u'jsonrpc':
        try:
            server = Server(remote_addr, encoding=_c.FSQ_CHARSET)
            return server.trigger_pull(queue=trg_queue,
                                       ignore_listener=ignore_listener,
                                       trigger=_c.FSQ_TRIGGER)
        except Exception, e:
            raise FSQRemoteTriggerError(e)

    raise ValueError('Unknown protocol: {0}'.format(protocol))
Write a non-blocking byte to a remote trigger fifo, to cause a triggered
       scan