Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ isOpen
Method
isOpen
source/game/StarUniverseConnection.cpp:28–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
bool UniverseConnection::isOpen() const {
29
MutexLocker locker(m_mutex);
30
return m_packetSocket->isOpen();
31
}
32
33
void UniverseConnection::close() {
34
MutexLocker locker(m_mutex);
Callers
5
sendAll
Method · 0.45
receiveAny
Method · 0.45
UniverseConnectionServer
Method · 0.45
connectionIsOpen
Method · 0.45
sendPackets
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected