You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
805 B

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __ARGUS_SERVER_A_REMOTE_CONNECTOR__
  2. #define __ARGUS_SERVER_A_REMOTE_CONNECTOR__
  3. #include "../../data/net/netServer.h"
  4. class servaKernel;
  5. class servaRemoteClient: public networkServer, public networkServiceEngine{
  6. private:
  7. servaKernel *m_pMaster;
  8. protected:
  9. static servaRemoteClient * _instance;
  10. explicit servaRemoteClient( servaKernel *ptr );
  11. public:
  12. virtual ~servaRemoteClient();
  13. static servaRemoteClient * getInstance( servaKernel *ptr );
  14. virtual networkClientHandler * attachNewClient( int SocketID, void *ptr = NULL );
  15. virtual bool detachClient( networkClientHandler *ptr );
  16. virtual bool start();
  17. virtual bool stop( bool force = true );
  18. };
  19. #endif