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.

29 lines
630 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #pragma once
  2. #include <fstream>
  3. #include <functional>
  4. #include <iostream>
  5. #include <list>
  6. #include <map>
  7. #include <memory>
  8. #include <set>
  9. #include <sstream>
  10. #include <string>
  11. #include <vector>
  12. #include "libxsync\xsync.hpp"
  13. namespace iflytop {
  14. using namespace std;
  15. class XSyncUdpFactoryImpl : public I_XSyncUDPFactory {
  16. private:
  17. /* data */
  18. XSyncUdpFactoryImpl(){};
  19. public:
  20. static XSyncUdpFactoryImpl* Ins();
  21. void initialize();
  22. virtual shared_ptr<I_XSUDPListener> createXSUDPListener() override;
  23. virtual shared_ptr<I_XSUDP> createXSUDP() override;
  24. };
  25. } // namespace iflytop