ZMQDevice::__constructConstruct a new device Description
ZMQDevice::__construct
( ZMQSocket
$frontend
, ZMQSocket $backend
[, ZMQSocket $listener
] )"ØMQ devices can do intermediation of addresses, services, queues, or any other abstraction you care to define above the message and socket layers." -- zguide Parameters
Return ValuesCall to this method will prepare the device. Usually devices are very long running processes so running this method from interactive script is not recommended. This method throw ZMQDeviceException if the device cannot be started. |