Home
last modified time | relevance | path

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

/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()
529 ptrConnection->OnMessage([this, eventManager](auto clientFd, auto data, auto remoteInfo) { in TLSConnectionRegEvent()
543 auto ptrConnection = tlsSocketServer->GetConnectionByClientID(clientId); in TLSConnectionRegEvent() local
544 if (ptrConnection != nullptr) { in TLSConnectionRegEvent()
545 ptrConnection->OnClose([this, eventManager](auto clientFd) { in TLSConnectionRegEvent()
552 auto ptrConnection = tlsSocketServer->GetConnectionByClientID(clientId); in TLSConnectionRegEvent() local
553 if (ptrConnection != nullptr) { in TLSConnectionRegEvent()
554 ptrConnection->OnError([this, eventManager](auto errorNumber, auto errorString) { in TLSConnectionRegEvent()
565 auto ptrConnection in TLSConnectionUnRegEvent() local
572 auto ptrConnection = tlsSocketServer->GetConnectionByClientID(clientId); TLSConnectionUnRegEvent() local
579 auto ptrConnection = tlsSocketServer->GetConnectionByClientID(clientId); TLSConnectionUnRegEvent() local
[all...]
H A Dtls_socket_server.cpp708 std::shared_ptr<Connection> ptrConnection = nullptr; in GetConnectionByClientID() local
712 ptrConnection = it->second; in GetConnectionByClientID()
715 return ptrConnection; in GetConnectionByClientID()
1539 std::shared_ptr<Connection> ptrConnection = GetConnectionByClientEventManager(eventManager); in CloseConnectionByEventManager() local
1541 if (ptrConnection != nullptr) { in CloseConnectionByEventManager()
1542 ptrConnection->Close(); in CloseConnectionByEventManager()

Completed in 8 milliseconds