MCPcopy Create free account
hub / github.com/Atarity/Lightpack / CheckLock

Method CheckLock

Software/src/LightpackPluginInterface.cpp:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176int LightpackPluginInterface::CheckLock(QString sessionKey)
177{
178 if (lockSessionKeys.isEmpty())
179 return 0;
180 if (lockSessionKeys[0]==sessionKey)
181 return 1;
182 return -1;
183}
184
185
186//TODO: lock unlock

Callers 3

clientDisconnectedMethod · 0.80
clientProcessCommandsMethod · 0.80
stopListeningMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected