rfp_server.py 577 B

1234567891011121314151617181920212223242526
  1. #! /usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # SPDX-FileCopyrightText: Copyright (C) 2021 MH3SP Server Project
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. """Monster Hunter RFP server."""
  6. from mh.pat import PatServer, PatRequestHandler
  7. from other.utils import server_base, server_main
  8. class RfpServer(PatServer):
  9. """Basic RFP server class."""
  10. pass
  11. class RfpRequestHandler(PatRequestHandler):
  12. """Basic RFP server request handler class."""
  13. pass
  14. BASE = server_base("RFP", RfpServer, RfpRequestHandler)
  15. if __name__ == "__main__":
  16. server_main(*BASE)