]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/arm-ds5-gator.git/blob - daemon/Child.h
gator: Version 5.16
[android-sdk/arm-ds5-gator.git] / daemon / Child.h
1 /**
2  * Copyright (C) ARM Limited 2010-2013. 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  */
9 #ifndef __CHILD_H__
10 #define __CHILD_H__
12 #include <pthread.h>
14 class OlySocket;
16 class Child {
17 public:
18         Child();
19         Child(OlySocket* sock, int numConnections);
20         ~Child();
21         void run();
22         OlySocket *socket;
23         void endSession();
24         int numExceptions;
25 private:
26         int mNumConnections;
28         void initialization();
29 };
31 #endif  //__CHILD_H__