Home
last modified time | relevance | path

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 Dtcp_server_listen_context.cpp25 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 Dtcp_server_listen_context.h27 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 Dsocket_exec.h90 bool ExecTcpServerListen(TcpServerListenContext *context);
141 napi_value ListenCallback(TcpServerListenContext *context);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_work/src/
H A Dsocket_async_work.cpp160 … 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 Dsocket_module.cpp257 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 Dsocket_exec_fuzzer.cpp221 TcpServerListenContext context(env, &eventManager); in ExecTcpServerListenFuzzTest()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp1785 static bool ServerBind(TcpServerListenContext *context) in ServerBind()
1990 bool ExecTcpServerListen(TcpServerListenContext *context) in ExecTcpServerListen()
2294 napi_value ListenCallback(TcpServerListenContext *context) in ListenCallback()