gator: Version 5.19
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / Child.h
1 /**
2  * Copyright (C) ARM Limited 2010-2014. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef __CHILD_H__
10 #define __CHILD_H__
11
12 class OlySocket;
13
14 class Child {
15 public:
16         Child();
17         Child(OlySocket* sock, int numConnections);
18         ~Child();
19         void run();
20         OlySocket *socket;
21         void endSession();
22         int numExceptions;
23 private:
24         int mNumConnections;
25
26         void initialization();
27
28         // Intentionally unimplemented
29         Child(const Child &);
30         Child &operator=(const Child &);
31 };
32
33 #endif //__CHILD_H__