| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/helper/pmon/nlprocexecsocket.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <stdexcept> |
| 7 | |
| 8 | struct ProcessEventcxx . . $ ProcessEvent#; |
| 9 | |
| 10 | class NLProcExecSocketcxx . . $ NLProcExecSocket# final |
| 11 | { |
| 12 | public: |
| 13 | class BindErrorcxx . . $ NLProcExecSocket#BindError# : public stdcxx . . $ std/::runtime_errorcxx . . $ std/runtime_error# |
| 14 | { |
| 15 | public: |
| 16 | using stdcxx . . $ std/::runtime_errorcxx . . $ std/runtime_error#::runtime_errorcxx . . $ NLProcExecSocket#BindError#BindError(9c546c94e5fcce4e).; |
| 17 | }; |
| 18 | |
| 19 | NLProcExecSocketcxx . . $ NLProcExecSocket#NLProcExecSocket(49f6e7a06ebc5aa8).(); |
| 20 | ~cxx . . $ NLProcExecSocket#`~NLProcExecSocket`(ced63f7c635d850d).NLProcExecSocketcxx . . $ NLProcExecSocket#(); |
| 21 | |
| 22 | ProcessEventcxx . . $ ProcessEvent# waitForEventcxx . . $ NLProcExecSocket#waitForEvent(eedda79909be61).() const; |
| 23 | |
| 24 | private: |
| 25 | struct FDHandlecxx . . $ NLProcExecSocket#FDHandle# |
| 26 | { |
| 27 | int fdcxx . . $ NLProcExecSocket#FDHandle#fd.{-1}; |
| 28 | ~cxx . . $ NLProcExecSocket#FDHandle#`~FDHandle`(ced63f7c635d850d).FDHandlecxx . . $ NLProcExecSocket#FDHandle#(); |
| 29 | } sockFd_cxx . . $ NLProcExecSocket#sockFd_.; |
| 30 | }; |