Python zmq.devices() Examples

The following are 3 code examples of zmq.devices(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module zmq , or try the search function .
Example #1
Source File: test_imports.py    From vnpy_crypto with MIT License 5 votes vote down vote up
def test_devices(self):
        """test device imports"""
        import zmq.devices
        from zmq.devices import basedevice
        from zmq.devices import monitoredqueue
        from zmq.devices import monitoredqueuedevice 
Example #2
Source File: ipcontrollerapp.py    From Computable with MIT License 5 votes vote down vote up
def _use_threads_changed(self, name, old, new):
        self.mq_class = 'zmq.devices.%sMonitoredQueue'%('Thread' if new else 'Process') 
Example #3
Source File: test_imports.py    From pySINDy with MIT License 5 votes vote down vote up
def test_devices(self):
        """test device imports"""
        import zmq.devices
        from zmq.devices import basedevice
        from zmq.devices import monitoredqueue
        from zmq.devices import monitoredqueuedevice