MCPcopy Create free account
hub / github.com/KDAB/GammaRay / server2client

Method server2client

tests/propertysyncertest.cpp:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60public slots:
61 void server2client(const GammaRay::Message &msg)
62 {
63 ++m_server2ClientCount;
64 if (!m_client)
65 return;
66
67 QByteArray ba;
68 QBuffer buffer(&ba);
69 buffer.open(QIODevice::ReadWrite);
70 msg.write(&buffer);
71 buffer.seek(0);
72 m_client->handleMessage(Message::readMessage(&buffer));
73 }
74
75 void client2server(const GammaRay::Message &msg)
76 {

Callers

nothing calls this directly

Calls 2

writeMethod · 0.80
handleMessageMethod · 0.80

Tested by

no test coverage detected