Show More
@@ -17,10 +17,6 b' class ChannelQObject(SuperQObject):' | |||||
17 | # Emitted when the channel is stopped. |
|
17 | # Emitted when the channel is stopped. | |
18 | stopped = QtCore.Signal() |
|
18 | stopped = QtCore.Signal() | |
19 |
|
19 | |||
20 | #--------------------------------------------------------------------------- |
|
|||
21 | # Channel interface |
|
|||
22 | #--------------------------------------------------------------------------- |
|
|||
23 |
|
||||
24 | def start(self): |
|
20 | def start(self): | |
25 | """ Reimplemented to emit signal. |
|
21 | """ Reimplemented to emit signal. | |
26 | """ |
|
22 | """ | |
@@ -61,10 +57,6 b' class QtShellChannelMixin(ChannelQObject):' | |||||
61 | history_reply = QtCore.Signal(object) |
|
57 | history_reply = QtCore.Signal(object) | |
62 | kernel_info_reply = QtCore.Signal(object) |
|
58 | kernel_info_reply = QtCore.Signal(object) | |
63 |
|
59 | |||
64 | #--------------------------------------------------------------------------- |
|
|||
65 | # 'ShellChannel' interface |
|
|||
66 | #--------------------------------------------------------------------------- |
|
|||
67 |
|
||||
68 | def call_handlers(self, msg): |
|
60 | def call_handlers(self, msg): | |
69 | """ Reimplemented to emit signals instead of making callbacks. |
|
61 | """ Reimplemented to emit signals instead of making callbacks. | |
70 | """ |
|
62 | """ | |
@@ -108,10 +100,6 b' class QtIOPubChannelMixin(ChannelQObject):' | |||||
108 | # Emitted when a shutdown is noticed. |
|
100 | # Emitted when a shutdown is noticed. | |
109 | shutdown_reply_received = QtCore.Signal(object) |
|
101 | shutdown_reply_received = QtCore.Signal(object) | |
110 |
|
102 | |||
111 | #--------------------------------------------------------------------------- |
|
|||
112 | # 'IOPubChannel' interface |
|
|||
113 | #--------------------------------------------------------------------------- |
|
|||
114 |
|
||||
115 | def call_handlers(self, msg): |
|
103 | def call_handlers(self, msg): | |
116 | """ Reimplemented to emit signals instead of making callbacks. |
|
104 | """ Reimplemented to emit signals instead of making callbacks. | |
117 | """ |
|
105 | """ | |
@@ -138,10 +126,6 b' class QtStdInChannelMixin(ChannelQObject):' | |||||
138 | # Emitted when an input request is received. |
|
126 | # Emitted when an input request is received. | |
139 | input_requested = QtCore.Signal(object) |
|
127 | input_requested = QtCore.Signal(object) | |
140 |
|
128 | |||
141 | #--------------------------------------------------------------------------- |
|
|||
142 | # 'StdInChannel' interface |
|
|||
143 | #--------------------------------------------------------------------------- |
|
|||
144 |
|
||||
145 | def call_handlers(self, msg): |
|
129 | def call_handlers(self, msg): | |
146 | """ Reimplemented to emit signals instead of making callbacks. |
|
130 | """ Reimplemented to emit signals instead of making callbacks. | |
147 | """ |
|
131 | """ | |
@@ -159,14 +143,9 b' class QtHBChannelMixin(ChannelQObject):' | |||||
159 | # Emitted when the kernel has died. |
|
143 | # Emitted when the kernel has died. | |
160 | kernel_died = QtCore.Signal(object) |
|
144 | kernel_died = QtCore.Signal(object) | |
161 |
|
145 | |||
162 | #--------------------------------------------------------------------------- |
|
|||
163 | # 'HBChannel' interface |
|
|||
164 | #--------------------------------------------------------------------------- |
|
|||
165 |
|
||||
166 | def call_handlers(self, since_last_heartbeat): |
|
146 | def call_handlers(self, since_last_heartbeat): | |
167 | """ Reimplemented to emit signals instead of making callbacks. |
|
147 | """ Reimplemented to emit signals instead of making callbacks. | |
168 | """ |
|
148 | """ | |
169 | # Emit the generic signal. |
|
|||
170 | self.kernel_died.emit(since_last_heartbeat) |
|
149 | self.kernel_died.emit(since_last_heartbeat) | |
171 |
|
150 | |||
172 |
|
151 |
General Comments 0
You need to be logged in to leave comments.
Login now