Lines Matching refs:socket
32 CommandLineInterface::CommandLineInterface() : socket(nullptr) {}
38 if (socket != nullptr) {
39 socket.reset();
40 ELOG("CommandLineInterface::InitPipe socket is not null");
43 socket = std::make_unique<LocalSocket>();
44 if (socket == nullptr) {
45 FLOG("CommandLineInterface::Connect socket memory allocation failed!");
48 if (!socket->ConnectToServer(socket->GetCommandPipeName(name), LocalSocket::READ_WRITE)) {
62 *(GetInstance().socket) << value.ToStyledString();
75 if (socket == nullptr) {
76 ELOG("CommandLineInterface::SendJSHeapMemory socket is null");
79 *socket << result.ToStyledString();
89 *socket << result.ToStyledString();
95 if (socket == nullptr) {
96 ELOG("CommandLineInterface::ProcessCommand socket is null");
103 *socket >> message;
136 CommandLineFactory::CreateCommandLine(command, type, val, *socket);
221 CommandLineFactory::CreateCommandLine(key, CommandLine::CommandType::SET, val, *socket);
261 CommandLineFactory::CreateCommandLine(commandName, commandType, jsonData, *socket);