Lines Matching refs:socket
34 CommandLineInterface::CommandLineInterface() : socket(nullptr) {} in CommandLineInterface()
40 if (socket != nullptr) { in InitPipe()
41 socket.reset(); in InitPipe()
45 socket = std::make_unique<LocalSocket>(); in InitPipe()
46 if (socket == nullptr) { in InitPipe()
50 if (!socket->ConnectToServer(socket->GetCommandPipeName(name), LocalSocket::READ_WRITE)) { in InitPipe()
64 *(GetInstance().socket) << value.toStyledString(); in SendJsonData()
77 if (socket == nullptr) { in SendJSHeapMemory()
81 *socket << result.toStyledString(); in SendJSHeapMemory()
91 *socket << result.toStyledString(); in SendWebsocketStartupSignal()
97 if (socket == nullptr) { in ProcessCommand()
105 *socket >> message; in ProcessCommand()
139 CommandLineFactory::CreateCommandLine(command, type, jsonData["args"], *socket); in ProcessCommandMessage()
222 …LineFactory::CreateCommandLine(key, CommandLine::CommandType::SET, commands[key]["args"], *socket); in ApplyConfigMembers()
262 CommandLineFactory::CreateCommandLine(commandName, commandType, jsonData, *socket); in CreatCommandToSendData()