diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2013-03-30 17:35:18 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-03-30 17:35:18 +0200 |
commit | 17c2f0dc0ca55e254fcd7829489757568b3225e7 (patch) | |
tree | 25b11e1b39d626151123a16f16f4b4ca38761609 /daemon/Child.h |
Imported Upstream version 5.13.0HEADupstream/5.13.0master
Diffstat (limited to 'daemon/Child.h')
-rw-r--r-- | daemon/Child.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/daemon/Child.h b/daemon/Child.h new file mode 100644 index 0000000..612ca7c --- /dev/null +++ b/daemon/Child.h @@ -0,0 +1,31 @@ +/** + * Copyright (C) ARM Limited 2010-2012. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __CHILD_H__ +#define __CHILD_H__ + +#include <pthread.h> +#include "Fifo.h" +#include "OlySocket.h" + +class Child { +public: + Child(); + Child(OlySocket* sock, int numConnections); + ~Child(); + void run(); + OlySocket *socket; + void endSession(); + int numExceptions; +private: + int mNumConnections; + + void initialization(); +}; + +#endif //__CHILD_H__ |