Home
last modified time | relevance | path

Searched refs:ptrConnection (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dmonitor_server.cpp527 auto ptrConnection = tlsSocketServer->GetConnectionByClientID(clientId); in TLSConnectionRegEvent() local
528 if (ptrConnection != nullptr) { in TLSConnectionRegEvent()
544 if (ptrConnection != nullptr) { in TLSConnectionRegEvent()
545 ptrConnection->OnClose([this, eventManager](auto clientFd) { in TLSConnectionRegEvent()
553 if (ptrConnection != nullptr) { in TLSConnectionRegEvent()
566 if (ptrConnection != nullptr) { in TLSConnectionUnRegEvent()
567 ptrConnection->OffMessage(); in TLSConnectionUnRegEvent()
573 if (ptrConnection != nullptr) { in TLSConnectionUnRegEvent()
574 ptrConnection->OffClose(); in TLSConnectionUnRegEvent()
580 if (ptrConnection != nullptr) { in TLSConnectionUnRegEvent()
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_socket_server.cpp707 std::shared_ptr<Connection> ptrConnection = nullptr; in GetConnectionByClientID() local
711 ptrConnection = it->second; in GetConnectionByClientID()
714 return ptrConnection; in GetConnectionByClientID()
1262 std::shared_ptr<Connection> ptrConnection = nullptr; in RemoveConnect() local
1268 ptrConnection = it->second; in RemoveConnect()
1275 if (ptrConnection != nullptr) { in RemoveConnect()
1276 ptrConnection->CallOnCloseCallback(static_cast<unsigned int>(socketFd)); in RemoveConnect()
1277 ptrConnection->Close(); in RemoveConnect()
1556 std::shared_ptr<Connection> ptrConnection = GetConnectionByClientEventManager(eventManager); in CloseConnectionByEventManager() local
1558 if (ptrConnection != nullptr) { in CloseConnectionByEventManager()
[all …]