diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-08-23 15:26:27 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-08-23 15:26:27 +0300 |
commit | 449198c97d2794b44b461093265637522b7a64b4 (patch) | |
tree | 36eb68c83b907474f507f5e8cde72856e29414bb /src/console/zmq/green/eventloop/zmqstream.py | |
parent | b156bb3ae7382481ed5f15e42d87cd3012870da5 (diff) | |
parent | 8384612b8493a4a896e91e3bb9d5d25689a87c12 (diff) |
rpc integration
Diffstat (limited to 'src/console/zmq/green/eventloop/zmqstream.py')
-rwxr-xr-x | src/console/zmq/green/eventloop/zmqstream.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/console/zmq/green/eventloop/zmqstream.py b/src/console/zmq/green/eventloop/zmqstream.py new file mode 100755 index 00000000..90fbd1f5 --- /dev/null +++ b/src/console/zmq/green/eventloop/zmqstream.py @@ -0,0 +1,11 @@ +from zmq.eventloop.zmqstream import * + +from zmq.green.eventloop.ioloop import IOLoop + +RealZMQStream = ZMQStream + +class ZMQStream(RealZMQStream): + + def __init__(self, socket, io_loop=None): + io_loop = io_loop or IOLoop.instance() + super(ZMQStream, self).__init__(socket, io_loop=io_loop) |