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

Method readyRead

common/endpoint.cpp:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void Endpoint::readyRead()
155{
156 while (Message::canReadMessage(m_socket.data())) {
157 const auto msg = Message::readMessage(m_socket.data());
158 m_bytesRead += msg.size();
159 messageReceived(msg);
160 }
161}
162
163void Endpoint::connectionClosed()
164{

Callers

nothing calls this directly

Calls 3

messageReceivedFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected