PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::example::server_network_config Struct Reference

Server network configuration. More...

#include <config.h>

Collaboration diagram for kcenon::pacs::example::server_network_config:
Collaboration graph

Public Attributes

std::string ae_title {"MY_PACS"}
 Application Entity Title for this server (max 16 chars)
 
uint16_t port {11112}
 Port to listen on.
 
size_t max_associations {50}
 Maximum concurrent associations (0 = unlimited)
 
std::chrono::seconds idle_timeout {60}
 Idle timeout for associations in seconds (0 = no timeout)
 

Detailed Description

Server network configuration.

Definition at line 26 of file config.h.

Member Data Documentation

◆ ae_title

std::string kcenon::pacs::example::server_network_config::ae_title {"MY_PACS"}

Application Entity Title for this server (max 16 chars)

Definition at line 28 of file config.h.

28{"MY_PACS"};

Referenced by kcenon::pacs::example::pacs_server_app::setup_server(), and kcenon::pacs::example::pacs_server_app::start().

◆ idle_timeout

std::chrono::seconds kcenon::pacs::example::server_network_config::idle_timeout {60}

Idle timeout for associations in seconds (0 = no timeout)

Definition at line 37 of file config.h.

37{60};

Referenced by kcenon::pacs::example::pacs_server_app::setup_server().

◆ max_associations

size_t kcenon::pacs::example::server_network_config::max_associations {50}

Maximum concurrent associations (0 = unlimited)

Definition at line 34 of file config.h.

34{50};

Referenced by kcenon::pacs::example::pacs_server_app::setup_server(), and kcenon::pacs::example::pacs_server_app::start().

◆ port

uint16_t kcenon::pacs::example::server_network_config::port {11112}

Port to listen on.

Definition at line 31 of file config.h.

31{11112};

Referenced by kcenon::pacs::example::pacs_server_app::setup_server(), and kcenon::pacs::example::pacs_server_app::start().


The documentation for this struct was generated from the following file: