blob: a306a776081938fe93320ca8134ea6b8b68f677a [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/**
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
12class OlySocket;
13
14class Child {
15public:
16 Child();
17 Child(OlySocket* sock, int numConnections);
18 ~Child();
19 void run();
20 OlySocket *socket;
21 void endSession();
22 int numExceptions;
23private:
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__