##// END OF EJS Templates
Get rid of address property on channels
Thomas Kluyver -
Show More
@@ -44,7 +44,7 b' def validate_string_dict(dct):'
44
44
45
45
46 class ZMQSocketChannel(object):
46 class ZMQSocketChannel(object):
47 """The base class for the channels that use ZMQ sockets."""
47 """A ZMQ socket in a simple blocking API"""
48 session = None
48 session = None
49 socket = None
49 socket = None
50 stream = None
50 stream = None
@@ -113,14 +113,6 b' class ZMQSocketChannel(object):'
113 def is_alive(self):
113 def is_alive(self):
114 return (self.socket is not None)
114 return (self.socket is not None)
115
115
116 @property
117 def address(self):
118 """Get the channel's address as a zmq url string.
119
120 These URLS have the form: 'tcp://127.0.0.1:5555'.
121 """
122 return self._address
123
124 def _queue_send(self, msg):
116 def _queue_send(self, msg):
125 """Pass a message to the ZMQ socket to send
117 """Pass a message to the ZMQ socket to send
126 """
118 """
@@ -54,7 +54,7 b' def validate_string_dict(dct):'
54
54
55
55
56 class QtZMQSocketChannel(SuperQObject):
56 class QtZMQSocketChannel(SuperQObject):
57 """The base class for the channels that use ZMQ sockets."""
57 """A ZMQ socket emitting a Qt signal when a message is received."""
58 session = None
58 session = None
59 socket = None
59 socket = None
60 ioloop = None
60 ioloop = None
@@ -116,14 +116,6 b' class QtZMQSocketChannel(SuperQObject):'
116 pass
116 pass
117 self.socket = None
117 self.socket = None
118
118
119 @property
120 def address(self):
121 """Get the channel's address as a zmq url string.
122
123 These URLS have the form: 'tcp://127.0.0.1:5555'.
124 """
125 return self._address
126
127 def _queue_send(self, msg):
119 def _queue_send(self, msg):
128 """Queue a message to be sent from the IOLoop's thread.
120 """Queue a message to be sent from the IOLoop's thread.
129
121
General Comments 0
You need to be logged in to leave comments. Login now