BatchApplicationServer.h 635 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #if !defined(Q_MOC_RUN)
  10. #include <native/utilities/ApplicationServer.h>
  11. #endif
  12. /** This Class is responsible for listening and getting new connections
  13. */
  14. class BatchApplicationServer
  15. : public ApplicationServer
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit BatchApplicationServer(QObject* parent = 0);
  20. ~BatchApplicationServer() override;
  21. bool startListening(unsigned short port = 0) override;
  22. };