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