Home
last modified time | relevance | path

Searched refs:TcpServerSendContext (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
H A Dtcp_server_send_context.cpp25 TcpServerSendContext::TcpServerSendContext(napi_env env, EventManager *manager) : BaseContext(env, … in TcpServerSendContext() function in OHOS::NetStack::Socket::TcpServerSendContext
27 void TcpServerSendContext::ParseParams(napi_value *params, size_t paramsCount) in ParseParams()
64 int TcpServerSendContext::GetSocketFd() const in GetSocketFd()
69 bool TcpServerSendContext::CheckParamsType(napi_value *params, size_t paramsCount) in CheckParamsType()
94 bool TcpServerSendContext::GetData(napi_value udpSendOptions) in GetData()
120 int32_t TcpServerSendContext::GetErrorCode() const in GetErrorCode()
133 std::string TcpServerSendContext::GetErrorMessage() const in GetErrorMessage()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/include/
H A Dtcp_server_send_context.h27 class TcpServerSendContext final : public BaseContext {
29 DISALLOW_COPY_AND_MOVE(TcpServerSendContext);
31 TcpServerSendContext() = delete;
33 explicit TcpServerSendContext(napi_env env, EventManager *manager);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec.h82 bool ExecTcpConnectionSend(TcpServerSendContext *context);
133 napi_value TcpConnectionSendCallback(TcpServerSendContext *context);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_work/src/
H A Dsocket_async_work.cpp138 … BaseAsyncWork::ExecAsyncWork<TcpServerSendContext, SocketExec::ExecTcpConnectionSend>(env, data); in ExecTcpConnectionSend()
377 …BaseAsyncWork::AsyncWorkCallback<TcpServerSendContext, SocketExec::TcpConnectionSendCallback>(env,… in TcpConnectionSendCallback()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/
H A Dsocket_module.cpp757 TcpServerSendContext, ExecTcpConnectionSend, TcpConnectionSendCallback, in Send()
758 [](napi_env theEnv, napi_value thisVal, TcpServerSendContext *context) -> bool { in Send()
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/socketexec_fuzzer/
H A Dsocket_exec_fuzzer.cpp260 TcpServerSendContext context(env, &eventManager); in ExecTcpConnectionSendFuzzTest()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp1683 static bool IsRemoteConnect(TcpServerSendContext *context, int32_t clientFd) in IsRemoteConnect()
1715 bool ExecTcpConnectionSend(TcpServerSendContext *context) in ExecTcpConnectionSend()
2247 napi_value TcpConnectionSendCallback(TcpServerSendContext *context) in TcpConnectionSendCallback()