Systemsicherheit/Assignment 7 - SGX Hands-on/SGX101_sample_code-master/RemoteAttestation/Networking/NetworkManagerServer.h

22 lines
367 B
C
Raw Normal View History

#include "NetworkManager.h"
class NetworkManagerServer : public NetworkManager {
public:
static NetworkManagerServer* getInstance(int port);
void Init();
void connectCallbackHandler(CallbackHandler cb);
void startService();
private:
NetworkManagerServer();
private:
static NetworkManagerServer* instance;
Server *server = NULL;
};