Lines Matching refs:ctxClient
57 void HdcForwardBase::OnAccept(uv_stream_t *server, HCtxForward ctxClient, uv_stream_t *client)
68 ctxClient->type = ctxListen->type;
69 ctxClient->remoteParamenters = ctxListen->remoteParamenters;
73 ctxClient->remoteParamenters.c_str()) < 0) {
77 ctxClient->id, ctxClient->type, ctxClient->remoteParamenters.c_str());
78 SendToTask(ctxClient->id, CMD_FORWARD_ACTIVE_SLAVE, reinterpret_cast<uint8_t *>(buf),
84 FreeContext(ctxClient, 0, false);
101 HCtxForward ctxClient = (HCtxForward)thisClass->MallocContext(true);
102 if (!ctxClient) {
106 uv_tcp_init(ctxClient->thisClass->loopTask, &ctxClient->tcp);
107 client = (uv_stream_t *)&ctxClient->tcp;
110 uv_pipe_init(ctxClient->thisClass->loopTask, &ctxClient->pipe, 0);
111 client = (uv_stream_t *)&ctxClient->pipe;
113 thisClass->OnAccept(server, ctxClient, client);