MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / send

Method send

source/game/StarUniverseConnection.cpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool UniverseConnection::send() {
61 MutexLocker locker(m_mutex);
62 m_packetSocket->sendPackets(take(m_sendQueue));
63 return m_packetSocket->writeData();
64}
65
66bool UniverseConnection::sendAll(unsigned timeout) {
67 MutexLocker locker(m_mutex);

Callers 7

writeDataMethod · 0.45
writeUpdateMethod · 0.45
updateMethod · 0.45
writeUpdateMethod · 0.45
reapConnectionsMethod · 0.45
playSoundMethod · 0.45
stopAllSoundsMethod · 0.45

Calls 3

takeFunction · 0.85
sendPacketsMethod · 0.45
writeDataMethod · 0.45

Tested by

no test coverage detected