LogoLogo
English
English
  • Diarkis Help Center
  • Overview of Diarkis
  • Getting Started
    • Diarkis Server Template
    • Diarkis Client SDK
    • Tutorials
      • 1. Launch Diarkis Server in Local Environment
      • 2. Perform Connectivity Check with Test Client
      • 3. Implement Custom Command
      • Connect to Server from Diarkis Client
    • Samples
  • Diarkis Modules
    • Room Module
      • Set Up Room Module on Server
      • Room Sample
        • room_broadcast
      • Utilizing Room Module from Client
      • Additional Features of Room
    • MatchMaker Module
      • Set Up MatchMaker Module on Server
    • Field Module
      • Set Up Field Module on Server
    • P2P Module
      • Set Up P2P Module on Server
      • P2P Sample
    • DM (Direct Message) Module
      • Set Up DM Module on Server
    • Notifier Module
      • Set Up Notifier Module on Server
    • Session Module
      • Set Up Session Module on Server
    • Group Module
      • Set Up Group Module on Server
  • Diarkis Server
    • Launch Diarkis Server in Cloud Environment
      • AWS
    • Launch Diarkis Server on Windows Environment
    • MARS Server
    • UDP Server
    • TCP Server
    • HTTP Server
    • Metrics API
    • Inter-server Communication - Mesh
  • Diarkis Client
    • Runtime Library
      • Diarkis RUDP
    • Diarkis Module
      • Initialization and Termination of Diarkis Module
      • Customization of Diarkis Module
      • Logging System of Diarkis Module
      • Migration
      • Threads of Diarkis
    • Samples
      • C++
        • room_broadcast
        • directmessage_simple
        • group_sample
        • matching_and_turn
        • matchmaker_ticket
        • p2p_rudp_sample
        • session_simple
      • Unreal Engine Plugin
        • FieldWalker
      • Unity Plugin
        • FieldWalker
          • HowToReplicatePosition.md
  • Diarkis Tools
    • Diarkis CLI
      • Procedures to Switch to Diarkis CLI v3
  • References
    • API Reference
    • Release Notes
      • v1.0
      • v1.0.1
      • v1.0.2
      • v1.0.3
      • v1.0.4
      • v1.0.5
      • v1.0.6
  • Support
    • License and Billing
Powered by GitBook
On this page
  • Overview
  • Basic Structure and File Organization
  • How to Use Each Module
  • How to Use the Diarkis Module
  • Resources Used by the Diarkis Module
  • Notes

Was this helpful?

  1. Diarkis Client

Diarkis Module

Overview

The Diarkis Runtime Library provides low-level functionality, but for it to run as an actual application, some additional features need to be implemented. The Diarkis Module serves as a framework that implements necessary functions and convenient features to easily integrate the runtime into applications. The source code is located at the following package:

diarkis-module

Basic Structure and File Organization

The Diarkis Module is broadly divided into the following four functionalities:

  • Diarkis Interface

    • This class manages connections to the Diarkis server and the state required to use each module per connection. An instance is created for each connection to the Diarkis server.

    • Implementation is available at diarkis-module/Client/Private/DiarkisInterfaceBase.cpp.

  • Implementation for Each Module

    • Classes named Diarkis "ModuleName"Base implement the features of the module corresponding to ModuleName.

    • Users can customize application-specific behavior by inheriting from this class.

    • Implementations can be found under diarkis-module/Client/Private.

  • Logging Related Features

    • Supports log output for the Diarkis Runtime Library and Diarkis Module.

    • Related source code is located in diarkis-module/Client/Private/logging.

  • Auxiliary Features

    • These are auxiliary features that do not directly relate to Diarkis functionality, such as normal HTTP access and file operations.

    • Related source code is located in diarkis-module/Client/Private/utils.

How to Use Each Module

For using the features of each module from the Diarkis Module, please refer to the pages of each respective module.

  • Room Module

  • MatchMaker Module

  • Field Module

  • P2P Module

  • DM (Direct Message) Module

  • Session Module

  • Group Module

How to Use the Diarkis Module

For basic usage of the Diarkis Module and how to customize it for each application, please refer to the following pages.

Resources Used by the Diarkis Module

The Diarkis Module internally uses the following resources:

Notes

  • Since Diarkis Module is provided as source code, users can directly modify the code for customization. However, please note that significant changes in implementation may occur due to company decisions, which might make merging difficult during version upgrades.

  • The API of Diarkis Module is not thread-safe. When using Diarkis Module with multiple threads, the application side should implement mutual exclusion control.

PreviousDiarkis RUDPNextInitialization and Termination of Diarkis Module

Last updated 2 months ago

Was this helpful?

Initialization and Termination of the Diarkis Module
Customization of the Diarkis Module
Diarkis Module's Logging System
Migration
Diarkis Threads