aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Proxy.h
diff options
context:
space:
mode:
authorVadim Troshchinskiy <vadim@qindel.com>2016-10-18 09:19:28 +0200
committerVadim Troshchinskiy <vadim@qindel.com>2016-10-28 14:11:52 +0200
commit30af52eb324f6bf5551869033605e3141d745a40 (patch)
tree04bf0ac904de17d5b919e9bb447179add9c89567 /nxcomp/Proxy.h
parenta5de79181092ce829ce3878d3d9ce671c3cd3cbc (diff)
downloadnx-libs-30af52eb324f6bf5551869033605e3141d745a40.tar.gz
nx-libs-30af52eb324f6bf5551869033605e3141d745a40.tar.bz2
nx-libs-30af52eb324f6bf5551869033605e3141d745a40.zip
Slave channel implementation
When enabled and a connection is made to the port, launches the process specified in NX_SLAVE_CMD on the other side, and connects stdin and stdout to the socket. This is used for VM/client and client/VM communication.
Diffstat (limited to 'nxcomp/Proxy.h')
-rw-r--r--nxcomp/Proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nxcomp/Proxy.h b/nxcomp/Proxy.h
index 8259ddbb7..ea60c827a 100644
--- a/nxcomp/Proxy.h
+++ b/nxcomp/Proxy.h
@@ -302,6 +302,8 @@ class Proxy
int handleNewSlaveConnectionFromProxy(int channelId);
+ void checkSlaves();
+
//
// Force closure of channels.
//
@@ -1268,6 +1270,7 @@ class Proxy
int channelMap_[CONNECTIONS_LIMIT];
int fdMap_[CONNECTIONS_LIMIT];
+ int slavePidMap_[CONNECTIONS_LIMIT];
};
#endif /* Proxy_H */