IService.h
1 #pragma once
2 
3 #include "stormancer/BuildConfig.h"
4 
5 
6 #include "stormancer/Packet.h"
7 
8 namespace Stormancer
9 {
10  class Client;
11  class Scene;
12  class ITransport;
13 
14  class IService
15  {
16  public:
17 
18 #pragma region public_methods
19 
20  STORMANCER_DLL_API virtual ~IService();
21  STORMANCER_DLL_API virtual void setClient(Client* client);
22  STORMANCER_DLL_API virtual void setTransport(ITransport* transport);
23  STORMANCER_DLL_API virtual void setScene(std::shared_ptr<Scene> scene);
24  STORMANCER_DLL_API virtual void sceneConnected(std::shared_ptr<Scene> scene);
25  STORMANCER_DLL_API virtual void packetReceived(Packet_ptr packet);
26 
27 #pragma endregion
28  };
29 }
Definition: IService.h:14