Home
last modified time | relevance | path

Searched refs:SingletonSocketConfig (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec.h192 class SingletonSocketConfig {
194 static SingletonSocketConfig& GetInstance() in GetInstance()
196 static SingletonSocketConfig instance; in GetInstance()
249 SingletonSocketConfig() {} in SingletonSocketConfig() function
250 ~SingletonSocketConfig() {} in ~SingletonSocketConfig()
252 SingletonSocketConfig(const SingletonSocketConfig& singleton) = delete;
253 SingletonSocketConfig& operator=(const SingletonSocketConfig& singleton) = delete;
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp1871 SingletonSocketConfig::GetInstance().RemoveAcceptSocket(connectFD); in RecvInErrorCondition()
1880 SingletonSocketConfig::GetInstance().RemoveAcceptSocket(connectFD); in CloseClientHandler()
1945 if (SingletonSocketConfig::GetInstance().GetTcpExtraOptions(sock, option)) { in ClientHandler()
1976 SingletonSocketConfig::GetInstance().AddNewAcceptSocket(sock, connectFD); in AcceptRecvData()
1977 …if (TCPExtraOptions option; SingletonSocketConfig::GetInstance().GetTcpExtraOptions(sock, option))… in AcceptRecvData()
2002 SingletonSocketConfig::GetInstance().AddNewListenSocket(context->GetSocketFd()); in ExecTcpServerListen()
2025 auto clients = SingletonSocketConfig::GetInstance().GetClients(context->GetSocketFd()); in ExecTcpServerSetExtraOptions()
2033SingletonSocketConfig::GetInstance().SetTcpExtraOptions(context->GetSocketFd(), context->options_); in ExecTcpServerSetExtraOptions()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/
H A Dsocket_module.cpp135 SocketExec::SingletonSocketConfig::GetInstance().RemoveServerSocket(sock); in Finalize()