* @brief There should always be exactly one local connection * to us (the process that loaded us). *************************************************************/
| 345 | * to us (the process that loaded us). |
| 346 | *************************************************************/ |
| 347 | Connection* KernelSML::GetEmbeddedConnection() |
| 348 | { |
| 349 | int index = 0 ; |
| 350 | for (Connection* pConnection = m_pConnectionManager->GetConnectionByIndex(index) ; pConnection != NULL ; index++) |
| 351 | { |
| 352 | if (!pConnection->IsRemoteConnection()) |
| 353 | { |
| 354 | return pConnection ; |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | return NULL ; |
| 359 | } |
| 360 | |
| 361 | /************************************************************* |
| 362 | * @brief Stop the thread that is used to receive messages |
no test coverage detected