MPDC: Multi Party Domain Cryptosystem 1.0.0.0b (A0)
MPDC Interior protocol
|
The MPDC Application Server. More...
Go to the source code of this file.
Functions | |
MPDC_EXPORT_API void | mpdc_mas_pause_server () |
Pause the Application server. | |
MPDC_EXPORT_API int32_t | mpdc_mas_start_server () |
Start the Application server. | |
MPDC_EXPORT_API void | mpdc_mas_stop_server () |
Stop the Application server. | |
The MPDC Application Server.
The MPDC Application Server (MAS) is the primary server module in the MPDC system. It is responsible for handling secure communication, processing application-level commands, managing certificate operations, and maintaining the topology of connected nodes.
The MAS operates as part of the overall MPDC network architecture. It supports key exchange, secure message transport, and logs events to assist with debugging and diagnostics.
The functions declared herein allow an application to start, pause, and stop the MAS. These control functions are typically called by the main application to manage the server's lifecycle.
Example usage:
MPDC_EXPORT_API void mpdc_mas_pause_server | ( | ) |
Pause the Application server.
This function suspends the MAS command loop and stops processing new connections. It is useful when temporary suspension of server activity is required without fully shutting down the service.
MPDC_EXPORT_API int32_t mpdc_mas_start_server | ( | ) |
Start the Application server.
This function initializes the MAS environment, including:
MPDC_EXPORT_API void mpdc_mas_stop_server | ( | ) |
Stop the Application server.
This function terminates all active server operations and releases resources. It stops the command loop, closes all open network connections, and writes any final log entries before shutting down.