MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / accepted

Method accepted

gui/qt/ipc.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void InterCom::accepted() {
35 m_socket = m_server->nextPendingConnection();
36 if (m_socket->waitForReadyRead()) {
37 m_data = m_socket->readAll();
38 m_socket->disconnectFromServer();
39 emit readDone();
40 } else {
41 qDebug() << "err: receiving packet";
42 }
43}
44
45QByteArray InterCom::getData() {
46 return m_data;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected