Home
last modified time | relevance | path

Searched refs:TcpServerCommonContext (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/include/
H A Dtcp_server_common_context.h29 class TcpServerCommonContext : public BaseContext {
31 DISALLOW_COPY_AND_MOVE(TcpServerCommonContext);
33 TcpServerCommonContext() = delete;
35 explicit TcpServerCommonContext(napi_env env, EventManager *manager);
56 typedef TcpServerCommonContext TcpServerGetStateContext;
57 typedef TcpServerCommonContext TcpServerGetLocalAddressContext;
58 typedef TcpServerCommonContext TcpConnectionGetLocalAddressContext;
59 typedef TcpServerCommonContext TcpServerGetRemoteAddressContext;
60 typedef TcpServerCommonContext TcpServerCloseContext;
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/
H A Dtcp_server_common_context.cpp25 TcpServerCommonContext::TcpServerCommonContext(napi_env env, EventManager *manager) : BaseContext(e… in TcpServerCommonContext() function in OHOS::NetStack::Socket::TcpServerCommonContext
27 void TcpServerCommonContext::ParseParams(napi_value *params, size_t paramsCount) in ParseParams()
47 int TcpServerCommonContext::GetSocketFd() const in GetSocketFd()
52 bool TcpServerCommonContext::CheckParamsType(napi_value *params, size_t paramsCount) in CheckParamsType()
70 int32_t TcpServerCommonContext::GetErrorCode() const in GetErrorCode()
83 std::string TcpServerCommonContext::GetErrorMessage() const in GetErrorMessage()