MCPcopy Create free account
hub / github.com/PyQt5/PyQt / _onReadyRead

Method _onReadyRead

Demo/Lib/Application.py:115–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113 self.activateWindow()
114
115 def _onReadyRead(self):
116 while 1:
117 message = self._socketIn.readLine()
118 if not message:
119 break
120 print("Message received: ", message)
121 self.messageReceived.emit(message.data().decode())
122
123 def removeServer(self):
124 self._socketServer.close()

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected