Searched refs:TcpServerListenContext (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | tcp_server_listen_context.cpp | 25 TcpServerListenContext::TcpServerListenContext(napi_env env, EventManager *manager) : BaseContext(e… in TcpServerListenContext() function in OHOS::NetStack::Socket::TcpServerListenContext 27 void TcpServerListenContext::ParseParams(napi_value *params, size_t paramsCount) in ParseParams() 75 int TcpServerListenContext::GetSocketFd() const in GetSocketFd() 80 bool TcpServerListenContext::CheckParamsType(napi_value *params, size_t paramsCount) in CheckParamsType() 105 int32_t TcpServerListenContext::GetErrorCode() const in GetErrorCode() 118 std::string TcpServerListenContext::GetErrorMessage() const in GetErrorMessage()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/include/ |
H A D | tcp_server_listen_context.h | 27 class TcpServerListenContext final : public BaseContext { 29 DISALLOW_COPY_AND_MOVE(TcpServerListenContext); 31 TcpServerListenContext() = delete; 33 explicit TcpServerListenContext(napi_env env, EventManager *manager);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/ |
H A D | socket_exec.h | 90 bool ExecTcpServerListen(TcpServerListenContext *context); 141 napi_value ListenCallback(TcpServerListenContext *context);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_work/src/ |
H A D | socket_async_work.cpp | 160 … BaseAsyncWork::ExecAsyncWork<TcpServerListenContext, SocketExec::ExecTcpServerListen>(env, data); in ExecTcpServerListen() 399 …BaseAsyncWork::AsyncWorkCallback<TcpServerListenContext, SocketExec::ListenCallback>(env, status, … in ListenCallback()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/ |
H A D | socket_module.cpp | 257 static bool MakeTcpServerSocket(napi_env env, napi_value thisVal, TcpServerListenContext *context) in MakeTcpServerSocket() 813 …return SOCKET_INTERFACE(TcpServerListenContext, ExecTcpServerListen, ListenCallback, MakeTcpServer… in Listen()
|
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/socketexec_fuzzer/ |
H A D | socket_exec_fuzzer.cpp | 221 TcpServerListenContext context(env, &eventManager); in ExecTcpServerListenFuzzTest()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | socket_exec.cpp | 1785 static bool ServerBind(TcpServerListenContext *context) in ServerBind() 1990 bool ExecTcpServerListen(TcpServerListenContext *context) in ExecTcpServerListen() 2294 napi_value ListenCallback(TcpServerListenContext *context) in ListenCallback()
|