TDME2  1.9.200
NewClientLogic.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #include <tdme/tdme.h>
7 
8 using std::string;
9 
10 /**
11  * New client logic interface
12  * @author Andreas Drewke
13  */
15 
16  /**
17  * Public destructor
18  */
19  virtual ~NewClientLogic() {}
20 
21  /**
22  * Handle new client
23  * @param clientId client id
24  * @param hostName host name
25  * @return success
26  */
27  virtual bool handleNewClient(const string& clientId, const string& hostName) = 0;
28 
29 };
New client logic interface.
virtual ~NewClientLogic()
Public destructor.
virtual bool handleNewClient(const string &clientId, const string &hostName)=0
Handle new client.